User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 370,604 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,039 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting
Views: 11418 | Replies: 2
Reply
Join Date: May 2003
Posts: 2
Reputation: Fyrelion is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Fyrelion Fyrelion is offline Offline
Newbie Poster

Writing to an Access Database using Java...

  #1  
May 19th, 2003
Hi,

I was wondering how you write to an Access Database using current Java versions. I've been looking pretty hard for awhile with a teacher and some friends, but so far we haven't come up with anything. Could you guys help me out?
Thx


Never eat soggy waffles. They Nasty!
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jul 2003
Posts: 4
Reputation: lohengrin332 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
lohengrin332 lohengrin332 is offline Offline
Newbie Poster

Re: Writing to an Access Database using Java...

  #2  
Jul 16th, 2003
For most database systems, you can simply download a JDBC driver to connect to the Db with Java, but there aren't any free ones for Access. What I ended up having to do was create an ODBC datasource (with Windows), and use the JDBC-ODBC bridge to connect to that. I think the JDBC-ODBC bridge is included with the JDK package. Good luck!


David
Reply With Quote  
Join Date: Jul 2003
Posts: 1
Reputation: Mayaka is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
Mayaka Mayaka is offline Offline
Newbie Poster

Re: Writing to an Access Database using Java...

  #3  
Jul 28th, 2003
Hi,
You can create an access datasource in Win2k as follows: Start->Control panel->Administrative tools->Data Sources(ODBC)->MS Access Database->System DSN->Add->Select MS Access Database Driver ->Finish->Enter datasource name->Select Database->Click ok
Mike.

NB:For more details, contact mikemayaka@yahoo.co.uk
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb Java Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the Java Forum

All times are GMT -4. The time now is 6:28 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC