• 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 cannot be connected

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
My java knowledge is very basic
I wanted to know where to store the database so that i can access it from java code
I have the Db in MsAccess
I am using JdbcOdbcDriver
I need the url by which I can connect to the Db
Can you please help me out
 
Ranch Hand
Posts: 387
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
hi,

You will have to create a Datasource via your Windows Control Panel.
There's an example at http://www.mundayweb.com/progs/jdbc-odbc-tut.php

It's a bit old, but you'll figure it out.

Herman
[ April 18, 2008: Message edited by: Herman Scheltinga ]
 
Ranch Hand
Posts: 171
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Herman Scheltinga:
hi,

You will have to create a Datasource via your Windows Control Panel.

[ April 18, 2008: Message edited by: Herman Scheltinga ]



You don't necessarily have to! Example:

 
reply
    Bookmark Topic Watch Topic
  • New Topic