• 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

jdbc with ms access

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i am trying to connect the jdbc with the ms acess driver..
in normal jdk environment it works fine..

But when i am using it with the apache 4.1 server it doesn't work..
The error is java.sql.SQLException:General error
...
The line DriverManager("jdbc dbc sn","","");
doen't works
can anybody help me ..

Thanks in advance
 
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I'm not really familiar with that, but you might want to post the exact code that you call. I suppose it's possible that you might need to use the old Class.forName syntax instead of the newer DriverManager...

http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html


You might also need to use one of the JDBC-ODBC bridges that are out there, although that should be only a last resort!
[ December 28, 2004: Message edited by: Stephen Huey ]
reply
    Bookmark Topic Watch Topic
  • New Topic