Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

OracleDataSource & DriverManagerDataSource

 
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic