• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Database Connectivity

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
reply
    Bookmark Topic Watch Topic
  • New Topic