Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How does Oracle UCP support LIFO(last in first out) retrieval of connections?

mahendra.yadavJan 2 2014 — edited Oct 15 2014

In Oracle JDBC 11g Release 1 (11.x), there is a property, "UseLIFO" as connectionCacheProperty, which allows us to "last in first out" retrieval of connections-

connectionCacheProp.setProperty("UseLIFO", "true");


But if I use Oracle UCP (Universal Connection Pool). Then I have no way to tell UCP to retrieve connection from pool in LIFO manner.


Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 10 2014
Added on Jan 2 2014
8 comments
1,247 views