Title:
Don't use that jdbc bridge crap....
-----Original Message-----
From: Jan Tye [mailto:[EMAIL PROTECTED]]
Sent: Monday, November 06, 2000 2:11 PM
To: Orion-Interest
Cc: [EMAIL PROTECTED]
Subject: Orion and Windows 2000 Professional

I have an application which runs fine under Windows 98, Orion 1.3.8 and JDK1.3


When the same application is run under Windows 2000 Professional (SP1) I get the access violation shown below during database connection.


D:\orion>java -jar orion.jar

Orion/1.3.8 initialized

Database connect failed..

#

# An EXCEPTION_ACCESS_VIOLATION exception has been detected in native code outside the VM.

# Program counter=0x77fca8ef

#

# Problematic Thread: prio=9 tid=0x9d7f60 nid=0x424 runnable

#



The application uses the standard JDBC connection code shown below.

               String url = "jdbc:odbc:dbname";

               Connection myCon=null;

                try

                {

                       Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");

                      myCon = DriverManager.getConnection(url, "user", "password");

                }






Reply via email to