Solved

reading and writing to an MS Access DB using a java application

Posted on 2006-07-09
6
212 Views
Last Modified: 2010-03-31
Hi,
I have an MS access DB that I want to access through a JAVA application.
I need to know all the connection commands, and how to invoke SQL commands through java.
I would be glad to see an example of such connection commands, and invoking a "select" and  "update" queries.
note: I prefer a connection soultion that doesn't involve installing or modifying any system drivers or settings.  (if it's possible)

please help,

thanks,
Nimrodon.
0
Comment
Question by:nimrodon
  • 3
  • 2
6 Comments
 
LVL 86

Expert Comment

by:CEHJ
ID: 17067304
0
 

Author Comment

by:nimrodon
ID: 17067326
Hi,
thanks for your comment.
after creating the connection, how do I embed the SQL commands in the code?

Nimrodon.

0
 
LVL 86

Accepted Solution

by:
CEHJ earned 250 total points
ID: 17067337
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 92

Expert Comment

by:objects
ID: 17067429
0
 
LVL 86

Expert Comment

by:CEHJ
ID: 17067481
:-)
0
 

Author Comment

by:nimrodon
ID: 17067482
thanks CEHJ.  the java almanac is a great resource.
objects, my problem was already solved when I got your comment,sorry.
good day,
Nimrodon.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
compre toata in where clue oracle 4 55
VB Script to add site to Java Exception List 4 48
more than one jdk and one jre 1 30
Way to decrease size of apk file 9 42
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
Basic understanding on "OO- Object Orientation" is needed for designing a logical solution to solve a problem. Basic OOAD is a prerequisite for a coder to ensure that they follow the basic design of OO. This would help developers to understand the b…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
This video teaches viewers about errors in exception handling.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now