aspose file tools*
The moose likes Servlets and the fly likes Database Connectivity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Database Connectivity" Watch "Database Connectivity" New topic
Author

Database Connectivity

shahzahid hussain
Greenhorn

Joined: Jun 04, 2001
Posts: 3
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

Joined: Jun 07, 2001
Posts: 1
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

Joined: Apr 18, 2001
Posts: 46
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


Vikas Aggarwal<BR>Technology Associate<BR>http://www.vikinsa.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Database Connectivity