Originally posted by Eric Lim:
Is it safe to pass a Database Connection object from an EJB to any of its clients? For example, if I have a method in my EJB called getConnection() that returns a database connection, can the Connection object be safely passed or returned by value to the calling client?
Thanks for any help.
Originally posted by Giri Prasad:
About the dataSource you are reffering to:
Ia m using oracle thin driver to create a data Source in WSDStudio. When I am trying to get connection in my bean using the datasource I got the error
java.sql.SQLException: CONM7005E: The class (oracle.jdbc.driver.OracleDriver) does not implement javax.sql.ConnectionPoolDataSource or javax.sql.XADataSource
Can you help on this?