• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Oracle Connectivity (JDBC:ODBC)

 
Rahul Yadav
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i want to access Oracle DB but at runtime it gives me error as


Exception in thread "main" java.lang.UnsatisfiedLinkError: make_c_state
at oracle.jdbc.oci8.OCIDBAccess.make_c_state(Native Method)
at oracle.jdbc.oci8.OCIDBAccess.logon(OCIDBAccess.java:400)
at oracle.jdbc.driver.OracleConnection.<init>(OracleConnection.java:362)

at oracle.jdbc.driver.OracleDriver.getConnectionInstance(OracleDriver.java:536)
at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:328)
at java.sql.DriverManager.getConnection(Unknown Source)
at java.sql.DriverManager.getConnection(Unknown Source)
at Syndication.main(Syndication.java:31)
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as mentioned in your subject you are using odbc connection, first validate your ODBC configuration is correct.

There is a free ware too SQL Lite which connects to DB using ODBC, you can use same to validate your ODBC connection

Shailesh
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic