How can i sort the RowSet?

I have the 2 (master and detail) entity objects, and corresponding 2 (master and detail) view objects.
Then i've generated the entity object class for the master EO, this class has methods of getting/setting EO attributes, and method for getting a row iterator for the detail object:
/**Gets the associated entity oracle.jbo.RowIterator */
public RowIterator getDetailEO() {
return (RowIterator)getAttributeInternal(DETAILEO);
Also in that entity object class i've created a method which gets the rows of the detail table, that correspond to the master record, and perform different action on these detail rows:
RowSet detailRowSet = (RowSet)getDetailEO();
detailRowSet.executeQuery();
The question is - How can i sort the rows in that detail RowSet, i.e. order them by their Id? I know that sort operations can be performed on the ViewObjects, but i can't get detail VO from this RowSet.
Is there a method of sorting/ordering rows in the RowSet?

You can actually have methods in the VO that access details from the master and vice versa - you define the generation of these methods in you ViewLink properties.
http://download.oracle.com/docs/html/B25947_01/bcquerying010.htm#sthref327

Similar Messages

  • How can I sort the words in a document into an alphabetical list?

    How can I sort the words in a document into an alphabetical list? Thanks!

    writer888 wrote:
    How can I sort the words in a document into an alphabetical list? Thanks!
    Copy the words to the Mac's clipboard (Edit menu> Copy)
    Paste into TextEdit 
    Next open the Edit > Find > Find window in Text Edit.
    Highlight a space between two words and Edit menu > copy, paste into the Find field
    Next create a return in the middle of your text and copy that and paste into the Replace field
    Click Replace All.
    Now Edit > Select All and Edit > Copy
    Open a Spreadsheet program with Sort ability and paste into the second column cell from the top
    place a "a" into the top column cell, select the entire colum
    Sort desending order
    Now if you need it out of spreadsheet format, then your going to need to copy just the data cells (not the entire column to avoid problems) and Paste "Special" as unformatted text into a word processing program
    If you need to get rid of the Returns, do the opposite you did in Text Edit, replace the Returns with Spaces
    A chore, but it's rare one needs to sort words into alaphabetical order.
    FYI, I used TextEdit and the free LibreOffice (Spreadsheet and Word Processing) for the above effects.

  • How can I  sort the pictures in my gallery into albums?

    How can I sort the photos in my gallery into albums?

    Thank you
    Sandi
    Bark less, wag more - unless you are a Schnauzer

  • How can i hand the RowSet to the next jsp page

    In a jsp page, I get a RowSet as the following:
    <input type="hidden" name="result" value="<%=ds.getRowSet()%>">
    I want to handle with this RowSet in the next jsp page, so
    I do in the next jsp page as the following:
    <% RowSet rowset = (RowSet)request.getAttribute("result"); %>
    But I was told null error. How can i hand the RowSet to the next jsp page.Help. Thanks a lot!

    Hello Charles,
    I did the registration in the same way as in the JDeveloper 3.2.3 (see follows)
    // make sure the application is registered
    oracle.jbo.html.jsp.JSPApplicationRegistry.registerApplicationFromPropertyFile(session , "ReefBC_BCPackage_BCPackageModule");
    The argument ReefBC_BCPackage_BCPackageModule is a property file (ReefBC_BCPackage_BCPackageModule.properties). After some tries, I can still use it in JDeveloper 9i R2. The reason to keep it is that there would be a lot of migration work of javabean calling if I change it to <job:DataWebBean..>. But I am wondering, do I initialize two application modules when I use registerApplicationFromPropertyFile() and <jbo:ApplicationModule..> in the same page.
    The problem in doStartTag() is found after I post "http://forums.oracle.com/forums/thread.jsp?forum=83&thread=155210&tstart=75&trange=15", by tracing into the <jbo:ApplicationModule..> after calling the OrdHttpUploadFormData. HtmlServices.getRequestParameters sends back an exception, that breaks the running of the program. It was temperorily solved by extending the ApplicationModuleTag. If <jbo:..> could use the application module initialized by registerApplicationFromPropertyFile(), I guess it may be a better workaround.
    Long postings are being truncated to ~1 kB at this time.

  • How can I sort the bookstore by price?

    Dear all, How can I sort the ibook bookstore by price of the books?

    There is no such option, there are WAY too many books available on the iBookStore to this.

  • How can I sort the target list in debug form.

    If I want to select a procedure/function to debug it is very hard to find it if the package contains a lot of procedures. How can I sort the target list. I did not find anything in the preferences. Thanks.

    Sorry, can't be done. You can request this at the SQL Developer Exchange though, so other users can vote and add weight for possible future implementation.
    My suggestion (if you decide to request it): base the order in the dialog on the order inside the navigator tree (location in the source by default, but possible by name or type/name - see tree's context menu).
    Regards,
    K.

  • How can I sort the my podcasts in alphabetical order?

    After the update to iTunes 11.1 my podcasts are all in chaotic order. I can't find anything anymore.
    Even podcasts with nearly the same name are not in the same place.
    Example: Windows Weekly (hi) isn't followed by Windows Weekly (mp3)
    Where or how can I change the sort order ?

    Although the original post is a few weeks old, I suspect that many people are still having the same issue.
    I'm using the List view (the old view), which presents the Podcasts in the Programme-name alphabetical order:
    As G3gator says, "something " needs exterminating!
    Phil

  • HT201317 How can I sort the order of photos in photo stream?

    My photos end up in a chronological order when posted to photo stream. How can I sort them in the order I want them to be viewed?

    Send a feature request to Apple via
    http://www.apple.com/feedback/iphoto.html
    and
    http://www.apple.com/feedback/icloud.html
    OT

  • How can I sort the Pictures in an Album by Name?

    I am updated my Photo App on OSX 10.10.2. All my Albums are imported fine, but how I can sort the Pictures in one Album by name? I just found the option for the Albums.

    Currently you can sort regular albums manually or by date; Smart Albums only by date; see How can you sort Album or Smart Album photos?

  • When creating a photo book how can I sort the photos shown by file name?

    I am creating a photo book. The photos shown in the right hand column appear out-of-order. How do I sort them by file name? The album in iPhoto the book is based on is sorted by file name.

    You can not - they are soreted by date
    --  the only solution I have seen is to put them in an album sorted the way you and and then use the batch cnage command to redate them with a small invrement between so a data sort matches your desired sort  --  I personally do not want to redate a bunch of my photos nor do i want  to have to go through and un-re- date a bunch
    suggest a change to Apple - iPhoto menu ==> provide iPhoto feedback
    LN

  • How can I sort the bookmarks menu? Sorting only works in "organize bookmarks", doesn't apply to the menu.

    I want my bookmarks to be listed alphabetically. I can select "sort by name" or "sort A-Z" under the Organize Bookmarks tab, but my choice applies to the Organize Bookmarks list only; when I open my Bookmarks menu, it remains unsorted. How can I apply my sorting preference to the actual Bookmarks list?

    The Views menu in the Bookmarks Manager (Bookmarks > Organize Bookmarks) is for displaying the bookmarks in different sorting orders (hence the name Views) and doesn't sort bookmarks permanently.
    Right-click a folder to open the context menu and choose "Sort By Name" in the left pane of the Bookmarks Manager or in the side bar to sort the bookmarks alphabetically or drag bookmarks to the wanted position. If dragging doesn't work then use Cut and Paste instead.
    You may have to close (Firefox> Quit) and restart Firefox to make changes appear in the Bookmarks menu because on Mac that menu is maintained by the OS and not by Firefox.
    * SortPlaces: https://addons.mozilla.org/firefox/addon/sortplaces/

  • How can I remove the rowset element

    Hi,
    Does anybody have an example of how to use the xmlformat object. The documentation says there is a setenclosingelementname method which enables you to change (and hopefully remove) <rowset> to something else, but I can't seem to find an example of its use in the documentation
    I have generated my XML using sys_xmlagg in version 9.2.0.4
    Any help will be much appreciated.
    Gary

    Hi,
    Though I have not used this package I think the following may help you.
    While using dbms_xmlquery to get the XML , there's one built-in by name dbms_xmlquery.setrowsettag
    which helps you to change the rowset tag.
    HTH
    Elango.

  • How can I sort the paragraphs in the New or Edit Cross-Reference dialog?

    I've got a document with over 100 figures, all are cross-referenced. When I create a new cross-reference I select the paragraph style on the left of the dialog, then the paragraph for the cross-reference. The paragraphs on the right side are not completely sorted. Is there a way that I can keep these sorted.Fortunately, all the figures are numbered which makes it a bit easier.  When I use a non-numbered paragraph, it can be challenging. The fact that the list (on my monitor) is really tiny doesn't make it easier.

    Sorting via the Views menu in the Library only shows the bookmarks in the chosen sort order and doesn't change them permanently (hence the Views name of that menu).<br />
    Clicking on the header does the same.<br />
    If you want to sort bookmarks then you need to right-click a folder and use "Sort By Name" to sort that folder.<br />
    You can't sort individual bookmarks, only folder can be sorted that way.<br />

  • HT3281 How can I sort the podcasts I download so that the smaller ones download first

    Hi All
    A cool feature that I am looking for is a way to sort the podcasts that I downlod by size, so that I can download the smaller ones first and fast and then keep downloading untill all pocasts are downloaed.
    So for example: I subscribe to a podcast from Scientific American called 60-second science. Now this is a minute or so long commentary about some interesting scientific topic. Typically the podcast is in the range of 1.5 to 2.0 MBs. It downloads in seconds, and I also subscribe to Audio podcasts from London School of Economics which typically are 1.5 hours and the file is in the 30 to 35 MB range and some times even larger.
    So when I make the list of podcasts to downlad, I would like to be able to clik on the headers of the coumns in iTunes and have the entries isted just kike Windows Exploer wuld sort, and then click download and the podcasts will download fast and then slow down as the file size gets larger.
    Is this feature in today's iTunes 10??? Or could it be introduced in future versions?
    Thanks
    Wassim

    I think you can use download manager, just try to find it in google and install it. Most of download manager has waiting list or queues.

  • How can i sort the items in my bookmarks' toolbar with an A-Z sort order?

    i would like to set the items in my bookmarks' tool bar in an a-z order.
    when i click "views" and "sort," i select the sort order, and then go to the bookmarks tool bar, which is not sorted by a-z--it's a jumble of names without any order, a-z or name.

    Sorting via the Views menu in the Library only shows the bookmarks in the chosen sort order and doesn't change them permanently (hence the Views name of that menu).<br />
    Clicking on the header does the same.<br />
    If you want to sort bookmarks then you need to right-click a folder and use "Sort By Name" to sort that folder.<br />
    You can't sort individual bookmarks, only folder can be sorted that way.<br />

Maybe you are looking for

  • Can thumbnails be renumbered in Acrobat X Standard?

    Can they be renumbered in v.9 Standard and v.8? Which versions will work for me, what to buy?

  • Connecting without disk

    Alright well I have to computers in my house and one is new and the other I have had for several years. My old computer had crashed about 3 weeks ago and lost everything. Now I cant get on the internet because it cant find the Linksys system on my co

  • SQL Satment with JSP

    Hey, I tried to make basic SQL statment (included in a string), but one of my field have a name finishing with a + like "Group-Id+" This is a sample of my code : String strSQL="SELECT HelpDeskCases.Group-ID+ FROM HelpDeskCases" I tried thanks to diff

  • Time management database for Palm pre

    used to use Time Mate on my old Treo 650 - need to have some form of Time management software to record client hours and travel costs etc Any ideas? Regards Barry R Post relates to: Treo 650 (Unlocked GSM)

  • My facebook isn't working

    I have a black berry curve 9360 and i updated my facebook but after one night it says "Error starting net_rim_bb_facebook: null And how do you check what you ID is, like the password and username  Solved! Go to Solution.