JDEV 12.2.1 sorting on a table

We have improved our 11.1.2.3 app to 12.2.1 recently.

If we have a table on the page and sort on a column, then the sorting works but it's really really slow. Anyone know what is the problem? or any solution to this problem?

Turn journaling on the ADF BC layer to see the SQL code that is emitted from the DB for this table, then get your DBA to watch the execution plan for such a declaration of SQL on the DB.

I guess that indexes and statistics on the table may need some tuning.

Tags: Java

Similar Questions

  • Lines sorting in alphabets tables

    Hi Forum,

    I tried with applescript, by converting tables to text and then sort paragraphs alphabetically.

    and then again once exemplary past and in the rows of tables where I need.

    Is it possible to select the rows in the table and directly sorted alphabetically.

    If possible...

    Thank you. and thank you,

    Shi...

    Allow me to quote Peter Kahrel on that:

    Use

    To sort the entire table, simply place the cursor somewhere in it, will launch the script. To sort a selection of lines, start by selecting the rows to sort, and then start the script.

    Uwe

  • How can I force sort a digital table

    I use a numbers spreadsheet [Version 3.6.2 (2577)] on a [Version OS X El Capitan 10.11.3] IMac for the sorting of items in stock by using our own numbering system.  For example 5/132/5 or 5/39/2 when I sort the tables using ascendant stock numbers does not recognize five, one hundred thirty-two, five (5/132/5) is more than five, thirty-nine, two (39/5/2) and he puts the reduction in the lowest number of the list.  Obviously the indexing works by placing the numbers starting with a higher than those starting with three.

    My question is how can I force to recognize my numbering system and index it properly.  I tried to format the data in the cells as 'automatic', 'number', 'breaking' and 'system', but nothing seems to work.

    Any help is welcome.

    Thank you

    Numbers of sees 5/1 and 5/3 and (correctly) sorts the 5/1 to go first.  Because of your item number format, you may need to set up an index to sort column.  What is your global numbering system?

    SG

  • Sort by node table formula

    Hi, everybody, I want to use the formula node to sort a table with order of small to large value, for example 16,2,1,5,3, then the result should be 1,2,3,5,6.

    then my program is like that, but I can't get the corret answer. Please help me. Thank you very much.

    McArthur,

    You've probably found a matrix of zeros because you are an iteration of the inner loop once or several times.  Change line 9 to 'for (j = 0; ". j<(sizeArr-1);j++)".  this="" should="" give="" you="" correct="">

    This algorithm is very inefficient (O(n^2)).  I would say quite simply using the antiderivative of "Sorting" 1 D native table.

    Chris M

  • Cannot sort the results table using datetime attribute

    I use short 3.1. My result table disappears when I try to sort by using a date/time attribute. I also saw him sometimes throw me an error: in ORDER BY clause: ORDER BY clauses may refer only to the attributes set in the same statement. I don't have any problem sorting the same point of view on a list of result of the datetime attribute. What could be wrong?

    I installed the provided patch support of oracle and it works. My studio version was 3.1.14220. After connection, the version is 3.1.18915.

  • How do you create dynamic links on sorting in a table

    Hello. I use Oracle Application Express 4.0. I created a form as a table with the attributes of the column sort. I need to create a dynamic link that runs when a column is rerun. Basically a 'out' event. I don't see how. Thank you. Robin

    Robin,

    You asked and I answered. The event would be to click (if you sort there is no change).

    The action is what you specify. It could be an update of the region as well.

    Dene

  • Join sorted on 2 tables, not a foreign key

    Hello

    I have two tables:

    BookAuthor
    -------------
    number surrogateid
    AuthorName varchar
    number bookid

    Books
    -------------------
    number bookid
    BookTitle varchar
    other columns

    I want to make some kind of query to join on the two tables where the query arguments are: rangefirst and: rangelast for 2 authornames, where I want to catch all bookauthors authorname between implicit, sorted, and then join the table books to fetch the booktitle and bookid and the authorname, and authornames which are the same also sort the product join by booktitle to the Books table.

    I hope it's possible!

    NOTE: there no foreign key relationship, so if a line of BookAuthor bookid value that does not exist in the table of books, I don't want a line into the product.

    And what kind of evidence do I need on each table.

    Thank you
    Andy

    You need clues if your table is large enough and you select only a few records in the table.

    If the create index case bookid on tables.

    Once the data are joined, you have no clue to the order.

    G.

  • identical random sorting for 2 tables

    Hello

    I had this function, which is sort my table in a random way.

    private function randomSort(objA:Object, objB:Object):int {
           return Math.round(Math.random() * 2) - 1
    }
    arr.sort(randomSort);
    

    I need to mix another table, but I need to have exactly the same random order than the first. If I use the same funcition:

    arr2.sort(randomSort); 

    I have different order in the two tables.

    Is there a possibility to randomize the two tables in the order?

    exactly.

    then, you probably want to use:

    private function randomSort(objA:Object, objB:Object):int {if(objA==objB){return 0;}       return 2*Math.round(Math.random())-1;}arr.sort(randomSort);
    
  • Problems with the sorting of a table with drop-down text cells

    I have 2 subjects (among a number of topics), and each section has a table.

    I followed Mr Grainge help to sort a table without an arrow and in heading 1, it does not work as expected. When I generate my WebHelp I can click on any one of my columns will sort the data. I can see the little black arrow head and black arrow head.

    I know absolutely nothing about HTML and basically followed the instructions for help and got to work.

    The second is a little different in that has 3 columns and rows about 375. The second column contains cells with the drop down text (but not all) as some have yet to be converted.

    The questions are:

    (1) a column will sort once only. So if I click on column 1, the head of black arrow appears. Subsequently, no amount of click will change the State of the data. I can sort the data on any of the 2 remaining columns, but I can never switch between ascendants and descendants of sequence on the same column.

    (2) in Design view, I see all the data in each cell. After that I generated my WebHelp, some of the cells that contain drop-down text fields are missing. Some are, and some are not. Those who are there, work perfectly when I click on the text and the text of the menu drop-down appears. Each drop-down text field has a bookmark.

    ((3) continuous on 2) above, if I use the combination of keys ctrl-w in design, some of the cells that contain text to menu drop-down are missing (probably all those lacking in the Webhelp) and oddly, some of the borders of the cells (I used light blue) are missing. However, they are there in the WebHelp. A sample is attached.

    Get my second table to work as I had hoped would be fantastic and worthwhile so far. However, I'm not quite there yet and need your help and suggestions.

    Please see the last item in the list under the Notes. I suspect this is the problem.

    See www.grainge.org for creating tips and RoboHelp

    Follow me @petergrainge

  • Dynamically sorting in a table

    Using DW MX2004 and MSAccess. I have a table which extract information from my database - it contains column headers. I would like to make the headers (If selected) to sort the table. Example: My table has a model and manufacturer as well as other things like the description of the item etc. I want the user to be able to click on the header of 'Model' and the table will re-index according to model. Even with the manufacturer etc. What is the best way to achieve this?

    Sorry that I did it again, I forget always to read the post as well.

    Try these:
    http://www.webthang.co.UK/Tuts/tuts_dmx/dynasort/sort1/films.asp?submit=Z-A&order=genere+d esc
    This is a tutorial:
    http://www.webthang.co.UK/Tuts/tuts_dmx/dynasort/dynasort.asp

    See you soon
    West

  • Sorting table with custom function

    Hello

    I use JDev 11.1.1.4.0

    I have a table with records.

    Public Record (int id, String desc) {}
    This.ID = id;
    This.Description = desc;
    }

    I want to implement a sort function, the description column, based on the length of the string.

    No idea how to do it?

    Hi Pedro,

    In this case, the class registration should be 'comparable' as you say.
    You can replace the current collection with an ordered list/set and then to implement the comparator interface.
    This is an example:

    public java.util.TreeSet getRecords() {
      TreeSet records = new TreeSet(new RecordComparator());
      // routine to get the records
      return records;
    }
    ...
    class RecordComparator implements Comparator {
      @Override
      public int compare(Record o1, Record o2) {
        // be careful with null records/attributes!
        return o1.getDescription().length() > o2.getDescription().length() ? 1 : o1.getDescription().length() < o2.getDescription().length() ? -1 : 0;
      }
    }
    

    After that, try this:
    http://technology.AMIS.nl/2012/03/01/ADF-11g-Programmatically-Configuring-sort-for-rich-table/

    AP

    Correction:
    Just add a transitional attribute to the Record class and try this with this new attribute: http://technology.amis.nl/2012/03/01/adf-11g-programmatically-configuring-sort-for-rich-table/

    AP

    Published by: Alejandro Profet on November 12, 2012 15:32

  • sorting table, how to get the new index of the last value?

    Hi all!

    I use a Subvi, which adds a cluter of the parameters to an array and then sort this table by one of the parameters in clusters.

    It works very well, with examples, that I found in this forum

    but now, I would like to know if it is possible to obtain at the end of the new cluster index first added.

    See attached VI

    Thank you

    You take the size of the table and insert the new element to this level is anything other than the table of construction and a simple construction would do that.

    In your question, I assume you're asking on the index of the item that you inserted after the sorting of the table, right? In this case, you can compare the cluster element that you introduce to the initial with the cluster table you get after a sorting of the table. This will give you the index of the item that you insert at the start.

  • How to sort a table double in blackberry?

    I need to sort a double table containg frequencies. I have java we can do by the method "Arrays.sort (). But Blackberry does not support table double sorting with this method. Someone has any idea how to do? Thank you.

    implement your own sorting algorithm must be covered by each course programming first half, I'm sure you can find many of them online.
    If this sounds too awkward, you could use instead of double [] objects and set up your own comparison.

  • ADFBC internal Tables - jdev 11.1.2.3 on redhat 5.8

    Hello:
    During the activation/passavatation of the App Module, I think that ADF has write status information in some internal oracle tables. I suppose that, by default, the same pattern is used for user data and internal oracle tables. Is this correct?

    Until there is activation/passavatation of the app module, I guess that internal oracle tables are not created. Activation/passavation actually causes the creation of tables or what?

    As a result, until there is stress on the system, the system can run ADF applications ok until passavation occurs and tries to create the internal oracle tables.
    If the connection does not grant to create tables, the system fails during activation. Is this true?

    Can someone indicate the location in the Docs that deal with this topic?

    Thank you very much.

    Yes that's right, only you get an error when passivation take place. Here is the doc http://docs.oracle.com/cd/E35521_01/web.111230/e16182/bcstatemgmt.htm#ADFFD1307
    Jdev ships sql scripts to create the tables with the installation. A DB admin can then create the tables and the connection used by the application must create the table rights. You can find the script at \oracle_common\common\sql\adfbc_create_statesnapshottables.sql

    Timo

    Published by: Timo Hahn on 16.01.2013 20:31

  • Descending sort of an af:table including the automatic refresh frequency is defined

    Hello

    I have an af:table that can be sorted and I want to be sorted by a column in descending order.
    The sortProperty I started this column, but I want to know how can I implement the order.

    Thank you

    You must do this in the iterator. Click the table iterator in the executable section of your pagedef... and go to the tab sort criteria... Select the column you want to do as a descendant... This will sort the descending table iterator when first loading

Maybe you are looking for

  • I keep getting a pop-up asking me to install programs. How can I stop them?

    I'll be on a site and when I clivk on a search window a popup asks me to install, Flash Player, google chrome, improve your brain, etc. When I close that window, the site, I was working on is frozen. I need to prevent this. Help please.

  • HP B209a?

    I have a HP B209a Photosmart Plus, which is a wireless network printer. Print network settings appears that Microsoft Web Services are enabled, but this doesn't show any code. This printer is compatible with eprint and if not, is there any update nex

  • HP photosmart 5510

    My Photosmart HP 5510 is running on my network. It prints, but has not stopped scanning on my desktop running Windows 8.1. It does not work on my laptop with Windows 7. I get the message that it has the incorrect drivers when you run the printer diag

  • Transfer of licence between PC and Mac

    I had Adobe Web Premium for many years now, and I just bought a new Mac so I was wondering if there is a way to transfer my license from my pc to my mac without getting Creative Cloud. Thank you!

  • Re-evaluate the relationships after adding a new instance of the entity

    Hi allI have an 'X' entity for which global > X 1:M relations are evaluated on the screens. For example, after we collect the instances of 'X', the next screen ask you, out of all the X, which is a member of the relationship there. The interview cont