File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes new to jdbc Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "new to jdbc" Watch "new to jdbc" New topic
Author

new to jdbc

chandan adhikari
Greenhorn

Joined: Jun 13, 2010
Posts: 3
hi all i m new to java/jdbc i m using J2SE 1.5 on window XP please help with using ms access as database please tell how to set path or environment variables and other necessary things dns setting and all
Jan Cumps
Bartender

Joined: Dec 20, 2006
Posts: 2516
    
  10

Welcome to JavaRanch, Chandan.

Please use real words and real sentences. It is easier for people that want to help you if they don't have to replace 2 by to, 4 by for, or if they have to find where one sentence stops and the next one starts.



OCUP UML fundamental and ITIL foundation
youtube channel
Devaka Cooray
ExamLab Creator
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3268
    
  52

Have a look at the JdbcFaq


Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
chandan adhikari
Greenhorn

Joined: Jun 13, 2010
Posts: 3
i have found way for declaring data source name for MS access its like this:
* go to ms-access and make a table called say "student_base" and give it a
file name student_base.mdb
* 1. Go to Control Panel
2. Click on Administrative Tools(windows 2000/xp), Click on
ODBC(win98)
3. click on ODBC
4. Then , you will see a ODBC dialog box. Click on UserDSn
5. Click on Add Button
6. Select Microsoft Access Driver(*.mdb) driver and click on finish
7. Give a Data Source Name : student_base
8. Then Click on Select
9. Browse on the database name you have created and click
it:student_base.mdb is a database file where all data
will be stored
10. Click on OK.
Once the DSN is created
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: new to jdbc