This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JDBC and the fly likes OracleDataSource & DriverManagerDataSource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "OracleDataSource & DriverManagerDataSource" Watch "OracleDataSource & DriverManagerDataSource" New topic
Author

OracleDataSource & DriverManagerDataSource

Subhashini Sekar
Greenhorn

Joined: Nov 15, 2005
Posts: 9
What is the difference between Class: oracle.jdbc.pool.OracleDataSource and Class: com.evermind.sql.DriverManagerDataSource.
we are using evermind.sql.DriverManager class in the data-sources.xml.
Does that have pooled DS.
karthikeyan Chockalingam
Ranch Hand

Joined: Sep 06, 2003
Posts: 259
I guess com.evermind.sql.DriverManagerDataSource pulls the connections from the java.sql.DriverManager directly and hence does not support connection pooling.

You have to use com.evermind.sql.OrionPooledDataSource for connection pooling.

If you have pre JDBC 2.0 drivers you may opt for com.evermind.sql .DriverManagerConnectionPoolDataSource

The below link may help
http://www.orionserver.com/docs/datasource-configuration.html


http://www.skillassert.com


 
jQuery in Action, 2nd edition
 
subject: OracleDataSource & DriverManagerDataSource
 
Similar Threads
Doubt about diagram class (realization)
WA #1.....word association
can non-static inner class access any member
andrew has wii
Doubt about diagram class