Solved

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

Posted on 2006-07-09
6
216 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

 
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

INTRODUCTION Working with files is a moderately common task in Java.  For most projects hard coding the file names, using parameters in configuration files, or using command-line arguments is sufficient.   However, when your application has vi…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
Viewers learn about the scanner class in this video and are introduced to receiving user input for their programs. Additionally, objects, conditional statements, and loops are used to help reinforce the concepts. Introduce Scanner class: Importing…
This theoretical tutorial explains exceptions, reasons for exceptions, different categories of exception and exception hierarchy.

717 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