I was working on migrating a project from WAS 5 to WAS 7. I experienced an issue with oracletypes class . The issue was type oracle.jdbc.driver.OracleTypes is not visible .
After doing hours of research looks like the WAS 7 uses oracle 11g driver. In ojdbc14.jar the visibility of OracleTypes is public the visibility of the OracleTypes class in ojdbc6.jar is changed to default so you can use it. We had to change to oracle.jdbc.OracleTypes from oracle.jdbc.driver.OracleTypes to make the application work.
Subscribe to:
Post Comments (Atom)
Hi
ReplyDeleteAfter replacing from oracle.jdbc.driver.OracleTypes to oracle.jdbc.OracleTypes for ojdbc14.jar it is working fine. when i will use ojdbc6.jar, then shall i use oracle.jdbc.OracleTypes or oracle.jdbc.driver.OracleTypes?
thank youuuuuuuuuuuuuuuuuuuuuuuuu
ReplyDeleteAwesome and Useful post
ReplyDeleteThank you
ReplyDeletelife saver thanks a lot
ReplyDelete