This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance 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