Problem connecting using OCI8
I am getting an error when attempting to connect to a 9i r2 database using OCI8. When I connect using the thin driver all works fine. Are different drivers or installation procedures needed to use OCI8? I am working with BLOB's and wanted to use OCI because I understand it is more efficient thatn the thin driver for this data type.
The two url's which are used are listed below.
dbUrl1 "jdbc:oracle:oci8:@svr:1521:orcl"
Fails with the following error: 500 Internal Server Error : java.lang.NoSuchFieldError: oracle.jdbc.oci8.OCIEnv.envCharSetId
dbUrl2 "jdbc:oracle:thin:@svr:1521:orcl"
Works fine.
Any help is appreciated.
Thanks in advance.
Wayne