File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes OracleDataSource & DriverManagerDataSource Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "OracleDataSource & DriverManagerDataSource" Watch "OracleDataSource & DriverManagerDataSource" New topic

OracleDataSource & DriverManagerDataSource

Subhashini Sekar

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

I agree. Here's the link:
subject: OracleDataSource & DriverManagerDataSource
It's not a secret anymore!