Greetings .
I am trying to use the DB2Connection class (that is to say COM.ibm.db2.jdbc.net or COM.ibm.db2.jdbc.net)
I constructed my connection pool.Database ise IBM DB2 version 7.1
I can get my connection succesfully by lookup method.
The connection returned is however is java.sql.Connection class.
I don't want that. What I want to obtain is DB2Connection class.As far as I konw DB2Connection implements Connection but when casting it,it gives ClassCastExceptionError.
Is there any way to achieve the DB2Connection class as a connection?
Thanks
Salih Sipahi
Software Engineer.
City of Istanbul Turkey
s.sipahi@sahinlerholding.com.tr
I am trying to use the DB2Connection class (that is to say COM.ibm.db2.jdbc.net or COM.ibm.db2.jdbc.net)
I constructed my connection pool.Database ise IBM DB2 version 7.1
I can get my connection succesfully by lookup method.
The connection returned is however is java.sql.Connection class.
I don't want that. What I want to obtain is DB2Connection class.As far as I konw DB2Connection implements Connection but when casting it,it gives ClassCastExceptionError.
Is there any way to achieve the DB2Connection class as a connection?
Thanks
Salih Sipahi
Software Engineer.
City of Istanbul Turkey
s.sipahi@sahinlerholding.com.tr