Re: Problem with JDBC ODBC BRIDGE DRIVER
- From: Alfred <user@xxxxxxxxxxx>
- Date: Sun, 04 Feb 2007 09:38:24 +0100
ashwinijain wrote:
Hello,
I am connecting to MS Access database from my software through JDBC ODBC Bridge Driver.
In operating system XP, its working but when i am trying to connect it in Windows 2000, its not getting connected.
try{
Class c=Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conn=DriverManager.getConnection("Sun:Jdbc:Odbc:KantiCables");
}
That's a wrong database url. Try to read here:
http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/JDBC20.html
Alfred
.
- Prev by Date: Re: Cannot connect to one Oracle DB using JDBC
- Next by Date: Re: Cannot connect to one Oracle DB using JDBC
- Previous by thread: opportunity for Java,J2ee developers in HYDERABAD (3+ years)
- Next by thread: Re: Urgent Oracle-DBA professionals required
- Index(es):
Relevant Pages
|
|