Question on views

I have a view C which is based on view B which in turn is created on view A. So, the order is like this.
A -> B -> C
My question is, if I use a hint on View C, will it be passed on to view's B and A? In what scenarios is the hint propogated?

Hi,
It's described in Oracle9i Database Performance Tuning Guide and Reference, Using Hints with Views. You may need to use global hints as shown in the example from the guide:
CREATE VIEW v1 AS
  SELECT *
  FROM emp
  WHERE empno < 100;
CREATE VIEW v2 AS
  SELECT v1.empno empno, dept.deptno deptno
  FROM v1, dept
  WHERE v1.deptno = dept.deptno;
SELECT /*+ INDEX(v2.v1.emp emp_empno) FULL(v2.dept) */ *
  FROM v2
  WHERE deptno = 20;Best regards,
Dima

Similar Messages

  • Question on view objects

    Hi I have couple of question both might be related.
    1. In one jsf page I have several items. They are selectInputText, InputText,Shuttle,Select one choice etc. Select input text,Select one choice and Shuttle gets populated from different view objects. For others user has to enter data. I need all entered data to go to the next page for confirmation and from confirmation page once user click confirm button data should be entered in data base.
    How do you take all the data from first page to confirmation page. I have seen SRdemo tutorial where suggestion was to create Global view Object with transient column and drop them as ADF form in first page so that in next page we can get the data from Global view object. But looking at my requirement when I bring ADF form it doesn't allow to have input items as select InputText or Shuttle.
    How do I do this?
    Second question is
    2. In one jsf page I have a table with Select Many. I want to update one of the column for selected row. So if user selects the rows and click continue I need to first go on confirmation page and show him all the selected row and then when user confirms, my custom method should go and update those rows in database with predefined value. If user doesn't selects any row I should throw a warning.
    I am using Jdev10.1.3.4.0
    thanks
    Ajay

    Hi,
    1. The ADF form that you see when dragging a collection from he data control palette to the page is a "template". You can change each attribute and input component added to teh page. Just delete the field the gets created and drag and drop the attribute of teh Collection again. Then you can choose the input item you like to have.
    2. If the rows have a primary key, you can get the PK from the selected rows and then pass them to a ExecuteWithParameters method that you can create for a VO that uses bind variables. So the bind variable could be used like select ... from ... where pk_col in (:bindVariable)
    Frank

  • Question about view/controller/nib class design

    Assume you need to make an application with, let's say, 15 different views in total. There are two extreme design choices you can use to implement the app:
    1) Every single view has its own view controller and a nib file. Thus you end up with 15 controller classes and 15 nib files (and possibly a bunch of view classes if any of your views needs to be somehow specialized).
    2) You have only one controller which manages all the views, and one nib file from which they are loaded.
    AFAIK Apple and many books recommend going purely with option #1. However, going with this often results in needless complexity, large amounts of classes (and nib files) to be managed and complicated class dependencies, especially if some of the views (and thus their controllers) interact with each other or share something (something which would be greatly simplified if all these related views were handled by one single controller class).
    Option #2 also usually ends up being very complex. The major problem is that the single controller will often end up being enormous, handling tons of different (and usually unrelated) things (which is just outright bad design). This is seldom a good design, unless your application consists of only a few views which are closely related to each other (and thus it makes sense for one single controller class to handle them).
    (Option #2 also breaks the strictest interpretation of the MVC pattern, but that's not really something I'm concerned about. I'm concerned about simple design, not about following a programming pattern to the letter.)
    A design somewhere in between the two extremes often seems to be the best approach. However, since I don't have decades of Cocoa programming experience, I would like to hear some opinions about this subject matter from people with more experience on that subject. (I do have object-oriented programming experience, but I have only relatively recently started programming for the iPhone and thus Cocoa and its design patterns are relatively new to me, so I'm still learning.)

    Somehow I get the feeling that my question was slightly misunderstood.
    I was not asking "which one of these two designs do you think is better, option #1 or option #2?" I already said in my original post that option #2 is bad design (unless your application consists of just one or two views). That's not the issue.
    The issue is that from my own experience trying to adhere very strictly to the "every single view must have its own view controller and nib file" often results in needless complexity. Of course this is not always the case, but sometimes you end up having controller classes which perform very similar, if not even the exact same actions, resulting in code repetition. (An OO'ish solution to this problem would be to have a common base class for these view controllers where the common functionality has been grouped, but this often just adds to the overall complexity of the class hierarchy rather than alleviating it.)
    As an example, let's assume that you have a set of help screens (for example one help screen for each major feature of the app) and a view where you can select which help view to show. Every one of these views has, for example, a button to immediately exit the help system. If you had one single controller class managing these views, this becomes simpler: The controller can switch between any of the views and the buttons of each view (most of them doing the same things) can call back actions on this controller (eg. to return to the help selection or to exit the help screen completely). These help screens don't necessarily have any functionality of their own, so it's questionable what do they would need view controllers of their own. These view controllers would basically be empty because there's nothing special for them to do.
    View controllers might make it easy to use the navigation controller class, but the navigation controller is suitable mainly for utility apps but often not for things like games. (And if you need animated transitions between views, that can be implemented using the UIView animation features.)
    I also have hard time seeing the advantages of adhering strictly to the MVC pattern. The MVC pattern is useful in things like web servers, where MVC adds flexibility. The controller acts as a mediator between the database and the user interface, and it does so in such an abstract way that either one can be easily changed (eg. the "view", which normally outputs HTML, could be easily changed to a different "view" which outputs a PDF or even plain text, all this without having to touch the controller or the model at all). However, I'm not seeing the advantages of the MVC pattern in an iPhone app. It provides a type of class design, but why is it better than some other class design? It's not like the input and output formats of the app need to be changed on the fly (which is one advantage of a well-designed program using the MVC pattern).

  • Question on View Object method to use to reset a data entry form?

    I am using a transient View Object form for the purpose of collecting and persisting data entered by users in a set of web data forms that span multiple pages. In the Application Module, I create the first row (see below.) After the user submits the last form, I programmatically add the data to the database (later may change to an Entity Object, but right now I don't use one.) So, the data they entered remains in the VO (it only ever has one row.)
    My question is which method do I use to clear out the current set of data values. I tried VO.clearcache() but it deletes the row, and VO.reset() did not clear the data? If the only way is to delete the row, then please advise the best way to re-create the row or re-set the iterator.
    thanks!
    -- sample code to insert initial row in App Module --
    protected void prepareSession(oracle.jbo.Session session) {
    super.prepareSession(session);
    insertTransientViewObjRows();
    private void insertTransientViewObjRows() {
    ViewObject transientvo = getView1();
    transientvo.clearCache();
    transientvo.insertRow(transientvo.createRow());
    ---- in service method after user submits the form and row remains in VO, I have tried: --
    vo1.reset(); // does not delete data from the row
    vo1.clearCache(); // deletes the row

    Thanks. Yes this looks more like what I need. How do I call this method from the client-tier, or from within a service method in my Application Module?
    vo1 = findViewObject("myViewObject");
    row = (MyViewRowImpl)vo1.first();
    row.initDefaults();
    compiler error message received:
    Error(279,21): method initDefaults() has protected access in class oracle.jbo.server.ViewRowImpl
    "Customer applications should not access this class on the client-tier of an application. Instead, the Row interface should be used for client tier access"
    Which Row interface method can I call?
    Message was edited by:
    javaX

  • General SRM Questions (Business view)

    Hello All,
    As I am new to SRM, would it be possible to get an answer on the questions below. These are questions which I think are relevant from a business point of view.
    1) Is SRM mainly for indirect spend?
    2) What extra modules are required for direct spend? (MM?)
    3) How does SRM work with MM?
    4) Is MM necessarily required?
    5) Can I use SRM and Invoicing or could could SRM also replace my SAP invoicing module?
    6) Is it mainly used for eauctioning and sourcing?
    Many thanks in advance.
    Atanod
    Will reward points for helpful answers.

    Hi Atanod,
    you are asking everything. By designing a solution fitting to the specific business needs, the components, processes, commodities etc. are decided. What do you want to do with the solution, which users should be enabled, where is the focus, etc. Have a look at the Service Marketplace as well into onto SAP webpages to get a basic insight into SRM and MM offerings. I try to answer some of your questions briefly:
    1) Is SRM mainly for indirect spend?
    --> No, historically it started with indirect; but all categories can be purchased via SRM nowerday.
    2) What extra modules are required for direct spend? (MM?)
    --> MM and SRM work together - no other modules. Important for direct is Sourcing, Materials,      Vendors and Contracts. And here the process and requirements drive the decision how MM and      SRM play together.
    3) How does SRM work with MM?
    --> depends on the process and the design; SRM leading system, MM leading system, both in parallel .... .
    4) Is MM necessarily required?
    --> no; but, it depends ....
    5) Can I use SRM and Invoicing or could could SRM also replace my SAP invoicing module?
    --> yes; SRM supports the invoicing step, but almost all companies use the MM / FI for this;     Within R/3 there are so many sophisticated functions for invoicing all these Finance guys love so much and do not have in SRM.
    6) Is it mainly used for eauctioning and sourcing?
    --> SRM is not mainly used for this; it contains these two elements as well; And again, it depends, if it makes sense to use
    And there are some more elements to consider: 
    Catalog Management,
    Document Exchange with the Suppliers,
    Outsourcing of certain processes and usage of 3rd Party providers,
    etc. .........
    Welcome to the exciting world of SRM!!!
    Cheers,
    Claudia
    Points are welcome from a personal view

  • Pc suite for 6555b Question on viewing and editing...

    Hello all.
    my nokia 6555b charger slot malfunctioned or overused will not allow recharging of battery.
    got pc suite for it.  downloaded info to file.
    I want to manage the saved downloaded phone files, etc. but dont want pcsuite connect to phone AFTER I already saved info to my PC.    cannot access content unless I reconnect mobile phone.  Is this normal?  I thought the purpose was to check content etc. before reconnecting it to new nokia phone for download.or to download corrected info back on a phone.
    when phone is connected, am I viewing what is in phone, or do I actually see the items saved on my PC for correction, retreaval and view for use later to download on phone which will bw sent to me as replacement?
    If phone is connected and I select: restore the desired phone content from a backup file to my phone.  WILL irt allow me to check all, make changes, save then download nselected items or save and cancel action till later.   Or does it just force me to delete phone content and be downloaded with PC saved content?
    Please help as you can on each of te questions.   thanks,  jerry

    1. PC suite will not automatically backup the content of the phone. When plugged, it'll just a phone content browser.
    2. When backup/restore, PC Suite provides checkbox to select data categories. 
    3. To manage the backuped content on the PC side, you can try Noki. 
    What's the law of the jungle?

  • Simple question on view but solution seems to be bit confusin plz help

    i want to construct a view on top of a table with a condition: I should not modify the view each time a new column is added to table.
    eg: table has
    empno ename address grade
    1 aaa US A
    2 bbb US c
    1 aaa US B
    2 ddd AUS B
    I want to create a view on top of the table selecting all columns and grade = A,B
    hence i get 3 rows in the view
    empno ename address grade
    1 aaa US A
    1 aaa US B
    2 ddd AUS B
    Now here lets concentrate on only two records
    1 aaa US A
    1 aaa US B
    I donot want to select both rows...coz the empno,ename,address are equal hence I will select only A i.e A has always more preference than B.
    my result should be containing only two rows
    1 aaa US A
    2 ddd AUS B
    Overall: i want to put a condition on grade (a,b) but i get two rows where rest of all columns have the same value i should select grade A row.
    how to write a query for this ? please let me know

    >
    empno ename address grade
    1 aaa US A
    2 bbb US c
    1 aaa US B
    2 ddd AUS B
    I want to create a view on top of the table selecting all columns and grade = A,B
    hence i get 3 rows in the view
    empno ename address grade
    1 aaa US AI'm confused here - do you want to get the best grade for
    each employee?
    If bbb's best grade is a C, why does it not get selected?
    1 aaa US B
    2 ddd AUS B
    SELECT *
    FROM YourTable
    WHERE grade = 'A' OR grade = 'B'
    Now here lets concentrate on only two records
    1 aaa US A
    1 aaa US B
    I donot want to select both rows...coz the empno,ename,address are equal hence I will select only A i.e A has always more preference than B.
    my result should be containing only two rows
    1 aaa US A
    2 ddd AUS B
    Overall: i want to put a condition on grade (a,b) but i get two rows where rest of all columns have the same value i should select grade A row.
    how to write a query for this ? please let me knowIn order to write a query, we have to understand exactly what it is you want.
    It seems to to me (correct me if I'm wrong) that you want a person's best grade,
    but only if that grade is an A or a B - is that basically it?
    Paul...

  • Question about viewing .swf in email

    My client wants to send an .swf by email. lat year the file was 975kb and when they clicked the play button the animation played immediately Yay! This year the .swf animation is 2.4 - 3 mb and I am worried the client will have to wait for it to load.
    I thought of uploading the movie to Youtube but the client wants the large area of white to surround the animation. (the animation is a funky shape on a whie background).
    What other options do I have?
    Is a 2.4 to 3 mb .swf too large to send by email for quick viewing?

    Whichever way you deliver it, it will take time to deliver and/or load.  Why not just publish an html page with a white background and place it on a server.  Send the client a link to it.

  • Question about viewing folders

    Guys,
    I was wondering how to view a folder in list view and make all the other windows open the same way. I recently came from Windows and I know there was a setting that would "apply to all folders". Does OS X have something like that? Also, if I have a folder that has pictures in it, is there a way to view it so it shows the thumbsnails of it instead of importing all them into iPhoto? Thanks everyone!

    Yarzy,
    For a detailed discussion of how to deal with setting List view, please see this thread.
    As far as seeing thumbnails, I prefer to use Column View. Column View will show thumbnails for any image files, it will display a preview of PDF documents, and it will even allow you to play audio and video directly in the Finder window; very cool!
    Also, it is very easy to simply drag-select several image files at once in column view. Having done so, you can Control-Click (or right-click) on your selection and choose "Slideshow" from the contextual menu. This is one of the coolest capabilities of OS X, to view a full-screen slideshow from the Finder, with the option to "tile" all the pictures, or to add a single pic to your iPhoto library with the click of your mouse.
    Give these options a try, and let us know how you like them.
    Scott

  • Some questions about view options for single folders

    hi,
    I'm trying to customize the finder a little, but I'm running into some troubles. It seems that finder is not capable of saving view options for single folders, is it? What I mean is: For example I want my standard view to be "column view, sorted by name". But one specific folder I want to open in "list view, sorted by date modified". I can't get finder to do it.
    In View Options, there is a checkbox "Always open in XXX view". But it only seems to work if I cmd-click that folder so it opens in a new finder window, but not if I stay in the same window, which is really annoying.
    With file-sorting, it seems as soon as I chose "sort files by date modified" finder does this for ALL folders, not only the one I'm currently in (regardless of whether I use View -> Arrange By or View -> View Options -> Arrange By)
    Ideas? I can't believe that those basic features are actually lacking in finder.
    thanks!

    well, I think I see what the problem is.
    I usually use column view. In column view it is enough to single-click on a folder to open it. When you do that, a new column with that folder opens. When I double-click on a folder on the other hand, it behaves the way I want it to be (opens in the view I set for it). So it seems like I will have double-click every folder in order to behave it the way I want (annoying as well, but I guess there is no other solution).
    Btw, if I create a new folder on my desktop and change it's default view it works, because clicking on a folder on the desktop is pretty much the same as opening it in a new window.
    Thanks for your help though. If you have any idea if you can make the folders behave the right way by single-clicking than please let me know
    edit: ok, seems I was wrong. it worked for the desktop-folder, but doesn't seem to work for any other folder (it DOES work when cmd-double-clicking it though). strange.
    Message was edited by: nachdenki

  • TOC Questions portrait view

    I see the TOC is based on the chapter titles of the book, I also see that you can change the styles and I need to know the following.
    Is there a way to add any other text to the titles for instance:
    chapter 1 - is the title ( which displays in the TOC)
    either an image ( for each chapter) as I see if I do that the image appears in all.
    OR
    another text box in each chapter with different text?
    R

    If I understand your  question, looking at the image you can see I changed section to have a title of Hope & Crosby and this will show in the TOC.
    You can re-name the Book Title, Chapters and Sections in the book tree simply by mousing over to select and re-type your names.
    What you change there is reflected in the TOC
    The default text boxes for these are what appers in the TOC.
    As it apears in TOC
    Hope that helps..

  • Question about viewing hard drives in windows

    So I just Installed windows on my macpro, on a second internal hardrive. Now when I run in OSX I can view the harddrive that windows is installed on, but when Im in windows I can't get into the harddrive with OSX on it.
    I've looked in device manager and windows is saying that there is reading the OSX drive, but basically says its blank and I can't use it.
    I really want to be able to swap info between these hardrives. Any advice?

    You need to install the Boot Camp drivers from a Mac OS X 10.6 DVD or third-party software such as MacDrive.
    (55693)

  • Question about viewing by conversation

    Greetings, all.
    I've just moved to Mountain Lion on my work laptop, and I'm noticing that Apple changed the way conversations are handled.
    Specifically, now in ML, Mail organizes by conversation regardless of a message's folder location.  Previous versions organized by conversation only in the same folder, but now it doesn't matter what folder a message is in (or at least Sent & Archive don't matter).
    Is there any way to restore the old functionality, where "Organize By Conversation" only includes messages in the current folder, and NOT messages in the archive or in the sent folder?
    Thanks.

    Ah, yes!  It's actually Preferences > Viewing > View conversations, but yes, that is the setting.  Thank you!
    I did many web searches and hadn't found it.

  • Question on view object

    I have entity object containing 2 fields rcode and desc. Made view object containg these 2 fields and another field named codeDesc. Essentially, this field would have value rcode+desc. How do I fill up this value? I would use this view object to show drop down list box using jbo.
    Please help!!

    Hi,
    I think that it would be of help to know about the JDeveloper version because in JDeveloper 10g you can define this declaratively in the entity object dialog.
    Otherwise, building a translient attribute and editing the ViewObjectRowImpl's getter method would be an option.
    Frank

  • PREMIERE CS3 QUESTION.PLEASE VIEW.

    DEAR ENGINEER:
          COULD YOU EXPLAIN WHY I CAN NOT FOUND EFFECT :RADIAL BLUR IN CS3。IF THE VER CS3 GIVEUP THIS EFFECT,WHAT EFFECT CAN DO FOR RADIAL BLUR IN CS3?
          SO COOL EFFET ,WHY GIVEUP THIS EFFECT?

    Hi
    I did a google search for this question and got this info for you....
    You can do what you want in after effects...or by using the plug-ins ....as per these instructions...
    1) answer to your question:
    http://dvxuser.com/V6/showthread.php?t=118444
    2) how to do with after effects
    http://www.recipester.org/Recipe:Make_a_centered_Radial_blur_in_After_Effects_CS3_40017293
    Rod
    Good luck

Maybe you are looking for

  • How to make the text_field to editable in the adobe document?

    Hi, expert, I meet a problem when I develop a WDA. I hope to get your help. Thanks a lot. The following is my action: Action: 1. I am using "Text Field" control rather "Text" Control in the pfd form by transfer code "sfp". I make sure in Object Palet

  • Query variables for 0CALDAY

    Hello gurus,    I´m trying to create a query variable that shows the last calendar day(infoobject 0CALDAY) in the previous year, current year, next year. I´m not finding these variables in Business Content. Does anybody know any variable for this? If

  • How to open jspx by default in jdeveloper source browser (11g)

    Hi, Does anyone know how to make jdev 11g open jspx etc. in source tab instead of the the design tab by default? Thanks,

  • Changing Marketing attribute in BP Master

    Hello Can anybody tell me if we can change marketing attribute already maintained in BP Master details. Is it possible to go for mass change of a particular attribute like through loading an excel file having list of all BPs. I cannot do it by creati

  • Converting doc in pdf

    Hello ! I need to know how to : 1. convert my word doc to pdf 2. I want to be able to email the new pdf file to someone and I want them to be able to print it out but not be able to edit it. Thank you