Hi All!
When I
test run my application in Eclipse, the connection to the SQL Server works just fine. However, once I export my .jar file to the server, I am not getting any data from the database, rather just blank panels.
My Connection Code for my Accessor class:
=======================================================
Class.forName("net.sourceforge.jtds.jdbc.Driver");
con=java.sql.DriverManager.getConnection"jdbc:jtds:sqlserver://emr_COGNOS:1433;databaseName=emrwty",[userName],[password]);
I am using:
IDE - Eclipse 3.1.1
Driver - most recent jTDS driver
JRE - 1.5
I have:
1. Verified that the jTDS jar file is in the Eclipse build path
2. Verifed that the System Path variable includes the path to the
java library where the jTDS jar resides
What am I missing?
Thanks tons for your responses and help!
JD