Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

OracleDataSource & DriverManagerDataSource  RSS feed

 
Subhashini Sekar
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 259
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!