Changing the definition of table PS_TXN use SECUREFICHIERS

Fusion Middleware Version:


JDeveloper Build JDEVADF_11.

Project: Custom Portal Application WebCenter integrated with ADF custom workflows.

During our ADF application performance tests, we noticed that a lot of contention on the LOB segments for the table PS_TXN (supports transactions State passivation/activation).

Movement of the LOB segment to use Oracle SECUREFICHIERS, most other tweaks to the definition of the table showed significantly reduce the contention as providing a much higher throughput for read and write operations.

To implement these changes, we would like to modify the ADF internal script that creates the table in the first place rather manually, dropping the table or by using the online table reorganization.

This approach is documented, and suggests that this can be done my edit script "adfbc_create_statesnapshottables.sql" located under the directory MIDDLEWARE_HOME/oracle_common/sql $.  We tried it, but after letting off the table in a test environment, ADF is re - create the table using the original definition when the application is done after the operation first move.

The same scenario can also be found under $MIDDLEWARE_HOME/oracle_common/modules/oracle.adf.model_11.1.1/bin however edit this file also makes no difference.

Does anyone know what script ADF uses to create the table, or if this is now coded in a class file or some other mechanism?


Automatic creation of table PS_TXN is hardcoded in the oracle.jbo.pcoll.OraclePersistManager class. Have a look at the statements at the end of the OraclePersistManager.createTable () method (in line 904 according to my decompiler). Other SQL statements (for example to drop the table, to the updates/insertions/deletions in the table, etc.) are defined inside the class oracle.jbo.pcoll.TransactionTableSqlStrings. You can find these classes within $MIDDLEWARE_HOME/oracle_common/modules/oracle.adf.model_11.1.1/adfm.jar.

If your database is not Oracle, but DB2 or MS SQL Server, then you should look at the classes oracle.jbo.pcoll.pmgr.DB2PersistManager and oracle.jbo.pcoll.pmgr.SQLServerPersistManager respectively.

You can override the default value PersistManager (create a new class that extends oracle.jbo.pcoll.OraclePersistManager and override/change the createTable() method), and then specify the new class in the AOS "jbo.pcoll.mgr" configuration property CreateTable() method has a package-level visibility, it would be very easy to do. This approach is delicate and the efforts needed to make does not, in my opinion. If I were you, I would be to pre-create the necessary tables in PS_TXN updated the manually.


PS Scripts SQL "adfbc_create_statesnapshottables.sql" aims to be used by advanced users who want to create their paintings previously manually. These scripts are not used by the infrastructure when it automatically creates the necessary tables.

Tags: Java

Similar Questions

  • In Photoshop, how can I change the background (Mount table) from black to white. I must have hit something because it changed suddenly mid-project and I cannot find anywhere in preferences to solve this problem.

    In Photoshop, how can I change the background (Mount table) from black to white. I must have hit something because it changed suddenly mid-project and I cannot find anywhere in preferences to solve this problem.

    Right-click on the pasteboard, and you should have a choice of colours from timeline menu.

    I would add that you should have a file to open it or it won't work.


  • How can I change the time to download files using Adobe send? Adobe SendNow had a lot more options.

    How can I change the time to download files using Adobe send? Adobe SendNow had a lot more options. I see not nay with Adobe send.

    It is not a feature in Adobe send for the establishment and the date of end of availability of a file. At any time, you can unshare the file, however.

  • How can I change the definition of remote site without breaking all the links?

    I created a website and put it here http://home.Comcast.NET/~alpsf/index.html to test it during construction.  Now when I change the definition of remote site to the local site in DW, all the links are broken.  I suspect now that the problem is I did my site root and ~alpsf/ DW inserted in all the links.  Is there a way to fix this?

    Thank you very much.

    You can do a search and replace to change the links in the world. Make sure you do a full backup of the site before doing this incase you do not correctly. Let me stress what still once, backup your entire site incase you need to restore. If you have created a "new site" and it will not part of the / ~ alpsf site, then you will need to define a new site and copy all the files in this folder (I'm guessing that this is the case). I copy the files outside Dreamweaver. You could do this without touching the files in the ~ alpsf directory. There are many variable here because I don't know exactly what you are doing.

    On the file menu select window/results-select search. (This is done if the search engine is not open).

    Find: all of the current Local Site

    Search: Source Code

    Search: "/ ~alpsf/".

    Replace: ' / '.

    That should do it, but it is a very delicate thing. I wouldn't have a problem doing this as long as I backed everything up.


    Published: you will need to enter in your css, spry files and all others who has links to do the same (this time only select search in: current document when the document is open). Once this is done, delete the entire remote site and upload the changes once you check that everything is complete.

  • Is it possible to change the definition of LOV uses dynamic action?


    I have a multiple selection LOV page article, P27_MULTI_CLASS_CODE, defined as below.  The loading of the page, this list contains only values based on what was passed to P27_OLO_CODE or P27_OLO_CODE_SW.

    SELECT DISTINCT c.class_code d, c.class_code r



    CLASS c

    WHERE o.org_wk = p.org_wk

    AND p.class_wk = c.class_wk

    AND o.org_active_flag = 'Y '.

    AND p.pos_active_flag = 'Y '.

    AND c.class_active_flag = 'Y '.

    AND (o.olo_code =: P27_OLO_CODE)

    GOLD o.olo_code =: P27_OLO_CODE_SW)

    ORDER BY c.class_code ASC

    Before submitting the page, I want the definition of LOV's P27_MULTI_CLASS_CODE to change the following (similar application without reference to the P27_OLO_CODE or P27_OLO_CODE_SW) based on the question if the user selects a checkbox, P27_ALLOW_SW.   In doing so, P27_MULTI_CLASS_CODE would contain a wide range of values, rather than the limited values.

    SELECT DISTINCT c.class_code d, c.class_code r



    CLASS c

    WHERE o.org_wk = p.org_wk

    AND p.class_wk = c.class_wk

    AND o.org_active_flag = 'Y '.

    AND p.pos_active_flag = 'Y '.

    AND c.class_active_flag = 'Y '.

    ORDER BY c.class_code ASC

    I wanted to avoid writing Javascript.  Is this possible using dynamic measurements... or at least somehow update P27_MULTI_CLASS_CODE so that it ignores the P27_OLO_CODE and the P27_OLO_CODE_SW?

    Tried to create dynamic action to clear the value of P27_OLO_CODE or P27_OLO_CODE_SW, in the hope this would trigger P27_MULTI_CLASS_CODE to display all the values, but it has failed.  Any ideas?

    APEX 4.2

    You can do this by editing the query lov a little:

    SELECT DISTINCT c.class_code d, c.class_code r
           POSITION p,
           CLASS c
    WHERE o.org_wk = p.org_wk
       AND p.class_wk = c.class_wk
       AND o.org_active_flag = 'Y'
       AND p.pos_active_flag = 'Y'
       AND c.class_active_flag = 'Y'
       AND ((:P27_ALLOW_SW = 'Y' AND (o.olo_code = :P27_OLO_CODE OR o.olo_code = :P27_OLO_CODE_SW))
            OR :P27_ALLOW_SW = 'N')
    ORDER BY c.class_code ASC

    (of course, use the correct value for P27_ALLOW_SW)

    The "cascade LOV Parent article (s)" value P27_ALLOW_SW and also add "Page elements to submit" element (Note: this item appears only when you have entered a value in the element of parent lov cascading items)

    Now, after changing P27_ALLOW_SW the lov will update to P27_MULTI_CLASS_CODE.

  • Change the definition of the materialized view while maintaining access for users uninteruupted


    We have a system report and the need to change the report definition mv access - like to do it without interruption.

    Is this possible?

    the sql behind mv was change picks up so column of another table.

    Have you heard but not used for dbms_redefinition tables

    Thank you

    It is built in the Oracle solution for this one, where you can edit the definition WITHOUT interruption. You can drop the materialized view existing with the clause "save table" and rebuilt the view materialized on 'predefined table'. I googled this example for you

    create materialized view mv1 as select dept , count(*) as cnt from scott.emp;

    We want to change the statement so that only dept more 5 will be calculated

    drop materialized view mv1 preserve table;

    Notice that PRESERVE TABLE clause - mv1 table is not droped - single layer mview.

    desc mv1

    now, we create the mview with a different query on top of the existing table

    create materialized view mv1 on prebuilt table as  select dept , count(*) as cnt from scott.emp where dept > 5;

    Notice that on prebuilt table the mview uses the existing object clause.

    exec dbms_mview.refresh_mview('mv1');

  • How to select and change the LabelFields / ButtonFields table 2D

    Hi everyone, I'm new here and I'm new to the blackberry development.

    For a project student I'm working, I have a table 2D-ButtonFields, (I can change LabelFields if it's easier) which I use to create a Sudoku grid.

    I understand that this is really basic but I want the user to simply scroll the table 2D to a particular cell, and be able to type in a number on the keyboard instantly change the label of the ButtonField or LabelField, IE their assumption of Sudoku.

    I have really problems that I'm not familiar with how blackberry accepts user input and how it can be used with the setText method.

    So, essentially, I would like some sort of way to determine the currently selected cell (without is activated) and then for this selected cell so that the setText() method applied

    Can someone help me? I can post a code if it helps but I'm not sure it will as you al will understand how basic it is.

    Thank you in advance and I hope I can return the favor as soon as

    You can use a focuschangelistener to be aware of policy changes. or call the getLeafFieldWithFocus() to retrieve the current field.

    You can't make buttonfields editable, but you can read user input and treat it.

    for sudoku you need only numbers, you can use the keyChar method to read the characters.

    Check if your target field is one of your buttons. Check to see if the tank is entered or Louis tank (Keypad.getAltedChar) is a number (Characters.isDigit).

    You can call setText on of the buttonfield.

  • Is it possible to change the style of table of contents directly?


    I was curious if it is possible to directly edit the table of contents style and changes persist after republishing?

    I see TocWriteClassStyle in whthost.js and if I change it, the changes are visible in the table of contents. However, if I can build the project again, whthost.js is recreated blowing all changes.

    I'm curious to know if there is a way to change the source to whthost.js so that when a new whthost is rendered, it is rendered with the changes? Alternatively, if this is not possible, is it possible to have the table of contents to include an additional custom stylesheet?

    Ultimately what I'm trying to do, is to have more icons available in the table of contents as only the currently available 3. Book, open book, so that we can use custom icons that are associated with the subjects, but aussient of flag icons for the translated page help files. I have all the control I could want in the subjects, but the skin itself appears to be a little too locked.

    I thank for taking the time to read and for all possible tracks, you may have for me.

    See you soon,.



    There is a group of what I call 'seed' files that are installed. I'm not sure of the exact file you need, but you might investigate the files inside this folder location. For me, the best way to get there is to right click on the shortcut you use to start RoboHelp. From there, you should be able to click a button or copy the location of the install folder for easy reference.

    Thus, you can edit the seed file to this place and it may provide what you need.

    I'd certainly save a backup to our friend Justin.

    See you soon... Rick

  • Definition of Table stamp using a tabular presentation


    I have a form of Tabluar (update only) where 2 columns can be updated on
    a table, something like:

    Employee (table)
    emp_name varchar2
    Status char (1)
    Modified_By varchar2

    If the columns emp_name or status is changed, I want the Modified_By define
    for this line.

    Sounds easy, but I only know how to use the automatic treatment of the form of tables.

    Thanks for any help.

    The best sollution to use the trigger somethink like him:

    -This generation of trigger id (PK), stamp date of creation and editing and creation of stamp as to who.
    WE employee

    -insertion, you can omit but it is very useful for
    If: NEW. EM_ID is NULL then
    end if;
    : NEW. CREATED_BY: = nvl (v ('APP_USER'), USER);
    END IF;

    : NEW. LAST_UPDATED_ON: = SYSDATE; -It is also useful
    : NEW. Modified_By: = nvl (v ('APP_USER'), USER);
    END IF;

  • How to change the search engine when you use the functionality of Firefox Home button Search?

    In Firefox itself, I have configured duckduckgo as my default search provider.

    But when I use the host Firefox search button it is always defined on google and I don't see any possibility to change that?

    I love the Firefox Home button Search (or whatever we call it) otherwise, but it's annoying that it does not use the default Firefox.

    I use the Google Launcher now.

    Hi mrt181, it is planned to use the same search engine as in firefox - however, there is a bug at the moment, so it does not apply in all situations.
    usually, it will be enough to change the default engine in firefox back once to work around the problem in the search widget and get the same as set in the browser search provider.

  • How can I change the password for my access using firefox?

    Responses deny there no password - however, now and then I asks me to confirm that I am the person identified in the MY Yahoo - I wonder a user name and password.

    An example is when I change computers and Yahoo or Mozilla does not recognize the new computer.

    I don't understand not - Yes normally, I simply open the browser and use it. BUT!

    I'm probably using jargon bad for what I want to change.

    OK - I now understand that the password I want to change is internal to Firefox and used to protect my privacy when I try to open the mail or other personal areas.

    I think I can find the place to do this.

  • Qosmio F60 - change the screen settings when you use the DVD player

    When I try to play a DVD using the DVD BD player a message that tell me to change the setting of the screen I followed their instruction to no availo. I am running Windows 7. The DVD plays on windows ok support.

    Any help would be appreciated

    Hi ametec.

    This DVD BD drive has been preinstalled on your computer?
    Which message get you exactly? Maybe you can download a copy of screen or something else

    In my opinion this problem is only related to this because the Media Player DVD player everything works
    For example, I use VLC media player for all my audio and video files. It s a small freeware player that can play most audio and video files. In addition it s not necessary to use a special DVD playback software.

  • How to change the language settings in firefox using JavaScript

    My question is: how to change the language settings in the use of JavaScript in firefox:

    I want to set the value of intl.accept_languages en using JavaScript.

    How can I do?

    EDIT: The reason mail, I want to do is to be able to run selenium for different languages test scenarios with manually change them rather progrmmetically

    You will need to close and open the pref via user.js or prefs.js before restarting Firefox to perform the next test.


  • When I change the XP screen resolution I use to be prompted with a box asking if I wanted to keep the new settings and a countdown.

    Now when I change the resolution I don't get this box.  If I choose the wrong resolution of my monitor I get a blank screen and cannot return to the old resolution.  How can I fix so that I return to the resolution of old timer appears automatically again?


    You can use the system restore feature to restore the computer to a State when you were having any problems.

    Try system Restore and check if this is useful to resolve the issue.

    How to restore Windows XP to a previous state

  • Need to change the ACE 4710 certificate that uses the https access management

    I would change the certificate in Cisco ACE 4710 that uses for managing https access to the device. We always get the notice of security from the GUI because it uses a self signed certificate for access to the administration. Please suggest there is any mechanisam or availabel for the procedure to change the self signed SSL certificate?


    You can check this bug:



Maybe you are looking for