Hello javaranch, Would you please let me know whether oracle thin driver which comes with Oracle 8.0 implement ConnectionPoolDataSource. Expecting your reply at the earliest. Thanx in advance kiran
Monty Ireland
Ranch Hand
Joined: Oct 03, 2000
Posts: 161
posted
0
I do not n-know the answer to your question. But, if you review the DataBaseMetaData class... I think you might find the answer to your question. By using the class to query the attributes of your database driver.
------------------ Multi-Platform Database Developer ( on E.S.T. )
Multi Platform Database Developer & DBA on E.S.T.
Vivek Viswanathan
Ranch Hand
Joined: Mar 03, 2001
Posts: 350
posted
0
Yes I guess it does As a matter of fact I am trying to implement Connection Poolling using, Oracle Thin Driver. I have got some tips for Connection Pooling from JDBC 2.0 Spec. Do u have any idea on this ??? vivek Viswanathan
Try the following: Context ctx = new InitialContext(); DataSource ds = (DataSource)ctx.lookup("jdbc/AcmeDB"); Connection con = ds.getConnection("..."); If con becomes a valid ref, i would think that connection pooling is a valid service.... If it does not work... fear not... i think some JINI entrys myst be made some where... I am new ti EJB... let me know how thing turn out... monty [This message has been edited by Monty Ireland (edited April 05, 2001).]
Bhupinder Dhillon
Ranch Hand
Joined: Oct 12, 2000
Posts: 124
posted
0
Oracle website has a sample code listed here... you will have to register in order to access this resource (it's free).