Thread: without ODBC
View Single Post
  #1 (permalink)  
Old 06-13-2007, 03:30 PM
Heather Heather is offline
Senior Member
 
Join Date: Jun 2007
Posts: 164
Heather is on a distinguished road
without ODBC
Hi,
I'm a little bit new in Java, and I can open a data base SQLServer but I do with an ODBC, I know that when I want to run the application I need to create ODBC, is there any way to connect to the data base without ODBC?

this is my code
Code:
try { Class.forName("sun.jdbc.odbc.JdbcOdbcDriver"); con = DriverManager.getConnection("jdbc:odbc:SIGSA", "sa", "admin"); stm = con.createStatement(); }
thank you

Last edited by Heather : 06-29-2007 at 04:27 PM.
Reply With Quote
Sponsored Links