Need some advice on exception seen with
Exploring 搒un.jdbc.odbc.JdbcOdbcDriver?bridge to determine if would fit a special task. Implementation will be on a Nonstop Tandem OSS environment. The URL and UserID and Password function to access a stored procedure from an SQLapp to the Tandem works. I tried de-compiling code to see if I could identify the missing method, tried hunting down any reference to the allocEnv method, but either I抳e spent too much time looking at the same problem or it is something very simple and just need some direction.
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String Tan01URL ="jdbc:odbc://tan01:port ";
java.util.Properties prop =new java.util.Properties();
prop.put("username","UserID");
prop.put("password","Password");
String stmt ="{call get_actions (?, ?, ?, ?, ?, ?, ?)}";
// Connect to the database
Connection conn = DriverManager.getConnection(Tan01URL, prop);
[b]Throwsthis exception each time.[/b]
Exception in thread"main" java.lang.UnsatisfiedLinkError: allocEnv
at sun.jdbc.odbc.JdbcOdbc.allocEnv(Native Method)
at sun.jdbc.odbc.JdbcOdbc.SQLAllocEnv(JdbcOdbc.java:142)
at sun.jdbc.odbc.JdbcOdbcDriver.initialize(JdbcOdbcDriver.java:451)
at sun.jdbc.odbc.JdbcOdbcDriver.connect(JdbcOdbcDriver.java:153)
at java.sql.DriverManager.getConnection(DriverManager.java:512)
at java.sql.DriverManager.getConnection(DriverManager.java:140)
at blendOdbc.main(blendOdbc.java:48)
Ideas?
Thanks

