• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setup ODBC?

 
Martin Swift
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all
Do I have to setup the ODBC bridge to MS Access manually or can this be done in some onther way?
Thanx
 
Bosun Bello
Ranch Hand
Posts: 1511
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The jdbc-odbc bridge already comes with the JDK. But you have to set up a datasource name (your database) through control pane.
[ January 26, 2004: Message edited by: Bosun Bello ]
 
Martin Swift
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you for your reply
Sorry, If my question was a bit unclear.
Is there any possability to setup the DSN via Java code and not via the control panel. For instance via ODBCconfig or in some other way?
 
Joe Ess
Bartender
Posts: 9372
11
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no way to set up a DSN through the Java API. Too platform specific. You can connect to an Access database directly using the following syntax:

[ January 26, 2004: Message edited by: Joe Ess ]
 
my overalls have superpowers - they repel people who think fashion is important. Tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!