jQuery in Action, 2nd edition*
The moose likes Java in General and the fly likes java database connectivity Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "java database connectivity" Watch "java database connectivity" New topic
Author

java database connectivity

Sameera Abeysinghe
Ranch Hand

Joined: Nov 15, 2004
Posts: 104
How can I access to microsoft access data base using jdbc


pls expalin with an example .

Thank you.
pascal betz
Ranch Hand

Joined: Jun 19, 2001
Posts: 547
hi
there is a JDBC forum here. you will probably get more answers there. show us what you have got so far, what your ideas are and there is surely someone who will try and help you out.

to begin with:
there should not be a big difference whether you work with MS SQL server, MySQL or DB2 with JDBC. After you loaded the correct JDBC driver (yours should come with your DB or be available at microsoft webpage) and set your DB specific parameters you work with the Connection, ResultSet, PreparedStatement and Statement Objects wich are DB neutral. so you could first have a look at a JDBC tutorial and then try to figure out how to get your driver loaded.

pascal
amrit choong
Greenhorn

Joined: Dec 18, 2004
Posts: 24
I think this link will help u:
http://www.developer.com/db/article.php/942641
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: java database connectivity
 
Similar Threads
basic question on access modifiers and levels
access specifier and access modifier
Constructors
Access specifiers & Access Modifiers
database in netbeans