Register / Login
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
JDBC and Relational Databases
Driver or datasource
posted 11 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?
It is sorta covered in the
JavaRanch Style Guide
Boost this thread!
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