How does Toplink know which Pool to use ?

We have two pools defined in sessions.xml as below
default has is-read-connection-pool false and one with true. We are not specifying to use read pool or default pool in our app anywhere, which we can while acquireClientSession("pool name"), but we are not. Does TL automatically decide to use which pool to use ?
          <connection-pool>
               <is-read-connection-pool>false</is-read-connection-pool>
               <name>default</name>
               <max-connections>10</max-connections>
               <min-connections>10</min-connections>
          </connection-pool>
          <connection-pool>
               <is-read-connection-pool>true</is-read-connection-pool>
               <name>Read Pool</name>
               <max-connections>15</max-connections>
               <min-connections>15</min-connections>
          </connection-pool>

When using TopLink's internal connection pooling:
READING: session.acquireClientSession() will acquire a read connection for the client session from the default read connection pool. Having multiple read connection pools and providing the pool name in the acquire is very uncommon.
WRITING: When a UnitOfWork requires a connection for writing it will acquire a connection from the write connection pool.
Doug

Similar Messages

  • How does oracle know which AO Framework page or process to execute.

    Hi,
    How does oracle know which AO Framework page or process to execute. I use to think this was defined in the Function definition. But looking through some Function definition in HRMS setup I noticed some of them simply calling the same first page, such as the one below used in many managers menus. This initial page is the page that allows managers to choose the employee they want to work on.
    OA.jsp?akRegionCode=HR_PERSON_TREE_TOP_SS&akRegionApplicationId=800.
    My question is, after executing this initial page, how does Oracle then varies the OA page by the diffferent functions?

    Hi;
    Thanks for sharing
    Please dont forget to change thread status to answered if it possible when u belive your thread has been answered, it pretend to lose time of other forums user while they are searching open question which is not answered,thanks for understanding*
    Regard
    Helios

  • Hi. I am building a website with the White template. Does anyone know which typeface was used by Apple on the heading index? (I would like to repeat the index at the bottom of my pages).

    Hi I am building a website using iWeb's white template. I can't write HTML, so can't change the index, but would like to repeat it at the bottom of my pages. Does anyone know which typeface Apple used? Presumably it would be 'web friendly' for use as described above?

    Arial
    PS. You can see it in the source of the published page where it says new NavBar etc...
    ".navbar {\n\tfont-family: Arial, sans-serif;\n\tfont-size: 1em;\n\tcolor: #666;\

  • How can I know which file is using by the self-service workflow?

    Dear all:
    In my directory, there are two HRSSA.wft and How can I know which source is using by the workflow of the self-service ?
    my environment is oracle 11.5.9 | self-service 4.1 | workflow builder 2.6
    Thanks
    regards
    Terry

    One way would be to download the HRSSA workflow to a wft file (using the WFLOAD utility - see MOS Doc 578248.1), then comparing this downloaded wft file with the two files you have (using a utility such as diff in Unix). The comparison that reports no differences will identify the wft that was uploaded into the database.
    HTH
    Srini

  • How does j_security_check know which page to redirect to?

    Hi All,
    I have implemented j_security_check in our weblogic web app successfully.
    What I would like to know is following the authentication and authorization via the container, how does it know to redirect the user to index.jsp?
    For example, we have login.jsp which contains the j_username and j_password fields, and the action is j_security_check. After the user hits submit and the container authenticates them, how does it know to then direct them to index.jsp? Is it because the welcome tag in web.xml is set up to direct them to index.jsp?
    <welcome-file-list>
    <welcome-file>index.jsp</welcome-file>
    </welcome-file-list>
    Thats the only thing i can think of!
    Thanks in advance.

    That's correct.
    You are specifying a login page, which will ONLY be accessed when the user attempts to view a secured resource.
    After logging in, they will see the page they were originally trying to get to.
    They will only be forced to go to the login page if you secure the page they are trying to get to:
    <security-constraint>
         <web-resource-collection>
              <web-resource-name>Resources</web-resource-name>
              <description>Require users to authenticate</description>
              <url-pattern>/upload/filelist.jsf</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <description>Define who can access this url-pattern</description>
    <role-name>NTSB Users</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <realm-name>dot-ad</realm-name>
    <form-login-config>
    <form-login-page>/login.jsp</form-login-page>
    <form-error-page>/loginError.jsp</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <description>This role can access the edit</description>
    <role-name>NTSB Users</role-name>
    </security-role>

  • Does anyone knows which cable is used to connect an iphone to a radio or speakers? would appreciate your help..

    I have an iphone 5 and i would like to connect it to a radio or speakers to play music but i dont know which cable is used and where can i get it.

    Depends on the home radio. You can connect a 3.5mm jack to the iPhone and, if your radio has a 3.5mm input, connect that to your radio. If your radio only has RCA style connectors, you can buy an adapter like the one pictured.
    Regardless of which method you use, make sure to select the correct input on your radio. You'll also need to turn the volume on your iPhone all the way up.
    I hope that makes sense. If not, what's the model of your radio?

  • How does Exchange know which DCs to communicate?

    Hi Experts,
    I have 3 DCs in the same site. I'd like to know where to check which DC does Exchange Server connect to.
    Thanks in advance.

    Hi Garen,
    You can follow the steps below to see which DC Exchange connect.
    Open EMC -> Click Server Configuration -> Right click the Exchange Server -> In the properties dialog box, click System Settings.
    You will see the domain controller being used by Exchange.
    Hope my clarification is helpful.
    Best regards,
    Amy
    Amy Wang
    TechNet Community Support

  • I have more than one version of GR5 on my mac. How do I know which is being used by logic 9?

    Hi, I'm new to logic pro and would realy appreciate some help. I have several versions of guitar rig 5 on my mac. How do I find out which one is being used in logic.
    I looked in plugins and see a version that is only 109 mb but I have another that is over 500 mb on my desktop. Can I just drag and drop this into plugins folder?
    Sorry if I seem a bit stupid but I can't make out what is being used as the one called up in logic seems to be the full version.
    Thanks

    The presets from earlier versions of GR should all be in the same place anyhow.. so reinstalling GR5 into it's correct locvation shouldn't affect anything regarding those other presets. In fact, as far as I can recall.. GR5 should ask if you want to import older presets when you first run GR5 standalone (The app version of GR5 in your applications folder) after install....
    Then those same presets should be present in in the AU version of GR5....
    Also GR4 (So long as you updated it to the latest version via the Service Center) should also continue to work with Logic Pro anyhow.. and load when you load an older project which used that version....
    Finally, any version you may have installed elsewhere.. won't work with Logic Pro because LP uses the AU Component version that is installed by the NI installer and therefore located in your components folder...  Those other versions are more likely to be copies of the standalone version.. which LP9 doesn't use.

  • How do I know which update to use for camera raw?

    I just bought a Canon 700D (T5i) and my CS5 does not recognize the RAW files. Looking at all the updates is very confusing as to just which one I need. Could someone help guide me to the correct update?

    Yes, it is very confusing.  No question about that.
    Always use the highest version that will work with your version of Photoshop.  In your case (CS5.x) that is ACR 6.7.
    It helps to remember that once a given camera model is supported in a given version of ACR, it will continue to be supported in all subsequent versions.
    In addition to support for newer cameras, each new version of Camera Raw has unannounced, unheralded bug fixes and improvements.  So just use the highest version that will work with your version of Photoshop, as stated above.  In the case of your version of Photoshop that is ACR 6.7.
    But, your camera may not be supported at all yet, and you'll have to convert your Canon raw files to raw DNG files with the free DNG Converter once said converter supports your camera.
    Message was edited by: station_two

  • How do I know which Preset to use?

    I want to edit a DV film, which was is DV PAL, at 48kHz audio with 640 * 480 res. I am not sure of the fps, but it has worked before in FCE. I am not sure whether to use anamorphic or not, and what the differences are. The more I know about this stuff, the less I will need to ask you guys.
    Edit: I have since noticed the video is in a fps of 29.97, which I know FCE allows.
    Thanks in advance.
    Message was edited by: The Liberator

    That is interesting!
    I have no idea what you can do with your PAL converted to NTSC project.
    The only proper thing to do is to start again and capture the original video correctly as PAL into FCE.
    If you no longer have the tape or camera you will somehow have to play around with what you have, but as I said, I have no idea where you could start or what the quality of the final video would be like.
    As long as you have the original tape you can use any Mini-DV camcorder to capture it into FCE.
    Message was edited by: Ian R. Brown

  • How can I know which orb im using?

    Hello all
    im trying to move from javaIDL to jacORB in my application
    I point my class path to the jacORB.jar and it is first in the list
    how can I be sure im using jacORB and not javaIDL ?
    Because the declaration is the same in the code. (import org.omg.CORBA.ORB;)

    You need to set ORB properties.
    Not fammiliar with JacORB but Orbix case looks like:
    Properties props = new Properties();
    props.put("org.omg.CORBA.ORBClass", "IE.Iona.OrbixWeb.CORBA.ORB");
    props.put("org.omg.CORBA.ORBSingletonClass", "IE.Iona.OrbixWeb.CORBA.singletonORB");
    orb = ORB.init(args, props);
    Anyway, check JacORB docs.
    found this:
    p.put("org.omg.CORBA.ORBClass", "org.jacorb.orb.ORB");
    p.put("org.omg.CORBA.ORBSingletonClass", "org.jacorb.orb.ORBSingleton");
    Message was edited by:
    algr

  • How does LabView choose which core to use in a multi-core system

    I have to share my multi-core processor with another application.  When this other application runs, it consumes 100% of one of the cores on the system for several seconds.  I am worried about this other application blocking part of my control code, resulting in delayed control signals and possible loss of control. 
    1.  When one core is completely occupied, will LabVIEW put all operations into the other core? (I am guessing this is yes)
    2.  If an operation is occurring on a core that is subsequently 100% subscribed, will LabVIEW move the operation to another core?  Does LabVIEW (or XP) prevent the other application from stalling operations already in progress? 
    The operations I am most concerned with are for the Multifunction DAQ and serial port calls.   
    I am working on a good sized (>100 vi) control system application in LabVIEW 8.2.1.  It is running on Windows XP.   

    1. Yes, Windows will allocate LabVIEW to an open thread on the unused core.
    2. Again, yes, Windows will check for available threads and move LabVIEW to any that are open, it doesn't matter what core that is.
    You can also force LabVIEW code, or parts of it, to run on a specific processor using the timed loop structure. You can find help for setting that up here.
    Chris Van Horn
    Applications Engineer

  • HT1665 how do i know which converter to use for my iphone and ipod dock station

    i have a dock spaeker for iphone and ipod it does not support iphone 5s where do i get a converter from and which one do i get

    One of these adopters/cables should work:
    http://store.apple.com/us/product/MD824ZM/A/lightning-to-30-pin-adapter-02-m?fno de=45
    http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter?fnode=45

  • How do I know which PRL to use?

    Moved for greater exposure

    That is interesting!
    I have no idea what you can do with your PAL converted to NTSC project.
    The only proper thing to do is to start again and capture the original video correctly as PAL into FCE.
    If you no longer have the tape or camera you will somehow have to play around with what you have, but as I said, I have no idea where you could start or what the quality of the final video would be like.
    As long as you have the original tape you can use any Mini-DV camcorder to capture it into FCE.
    Message was edited by: Ian R. Brown

  • I am using a MacBook and want to back up my data onto an external device.  Does anyone know which I should use?

    Can someone please suggest a backup storage unit that would go well with a MacBook?

    Pretty much an well-known USB or Firewire external drive.  If you want bootable clones, Western Digital hard-drives are known to have occasional problems.

Maybe you are looking for

  • How To... Change the Data Type for a SELECT-OPTIONS at run time.

    Hello, I am trying to restrict the values available for entry into a SELECT-OPTIONS at run time depending on user input. The logic is as follows. The user has two input fields. A PARAMETER field which has the type RSDIOBJNM and allows them to choose

  • CALL TRANSACTION won't execute report, keeps returning to program

    Good day to you! I have the following code:   CALL TRANSACTION 'FPO4' USING bdcdata                           MODE   'A'. The last line in my bdcdata is to simulate pressing the Execute button (OK_CODE = '=ONLI').  However, instead of running the rep

  • Wireless Connectivity issue (WRT54G)

    Ok.... I'll try and explain the problem as best I can. My family has been using a WRT54G to network the house computers (1 or 2 desktops running via ethernet and 3 laptops running via wireless) for years, and it's always worked perfectly, up until Ja

  • Multiple Servers with same Remote Interface?

    Is it possible to declare the same remote interface on multiple RMI servers? Secondly, is it possible to pick which RMI server will manage a particular request? In other words, imagine if multiple servers could service a particular request that has t

  • Very slow render on my beast of a machine

    Hello, I have an issue whereby my rendering is very slow. I am using premier elements 12 with a windows 8.1 computer that has an 8-core amd 8350 processor, 8 gbs of ram, and I have an AMD 7970 6gb video card crossfired with an AMD 280x video card. Cr