Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Database Connectivity

 
shahzahid hussain
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am connect to microsoft database(SQL Server Or Access)
with out using JDBC:ODBC
If any one Achive this task plese send me mail with script
at
thanx
 
J PRAKASH76
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friend,
it is easy to connect to a microsoft's databases (mssql server, ms-access)..
use JTURBO driver to connect to the database (it is a TYPE IV driver) u can download the driver from www.jturbo.com
and code is
Connection con=null;
Class.forname("com.ashna.jturbo.driver.Driver");
con=DriverManger.getConnection("jdbc:JTurbo://servername:1433/databasename","username","password");
u can get the connection using this code..
JP
 
vikinsa
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The above code sample is good but for ms -access you need to use JDBC/ODBC driver. Com Driver is for mySQL.

Originally posted by shahzahid hussain:
i am connect to microsoft database(SQL Server Or Access)
with out using JDBC:ODBC
If any one Achive this task plese send me mail with script
at
thanx


------------------
Vikas Aggarwal
Technology Associate
http://www.vikinsa.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic