Register / Login
Win a copy of
Clojure in Action
this week in the
JDBC and Relational Databases
Driver or datasource
posted 9 years ago
Hello there! I always thought that when configuring a datasource, for the driver, I should only use some driver, let me put this way :
Well, but I've been asked about replacing the connection-driver from oracle.jdbc.driver to oracle.jdbc.pool.OracleDataSource
and it keeps working. I just wonder how, if they are completly different classes, that have no common ancestors?
I agree. Here's the link:
OutOfMemoryError caused by PreparedStatements held in Connection
datasource connection in admin console unsuccessful
What is location, xa-location and ejb-location in JNDI?
Creating a Datasource in OC4J
Websphere, Entity bean called by MDB