File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes DataBase Connection Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "DataBase Connection " Watch "DataBase Connection " New topic

DataBase Connection

Lei Xiaowen

Joined: Jul 11, 2005
Posts: 15
I have made a programme about "Employee Information System",it must be
connect database.So I use Access to create a database and in the control panel I have create a data souce .But when I excute the project,it has a
java.sql.SQLException,it means that the DataBase Engine dosesn't find the
how to solve ?
thanks a million!
craig a chapman

Joined: Jun 24, 2005
Posts: 27
Can you provide a bit more information on how your connecting to the database i.e a code sample. A stack trace of the exception too.

Anand Karia
Ranch Hand

Joined: Sep 25, 2004
Posts: 156

Hi Lei Xiaowen!

It would be more feasible if you post some sample code here that will pinpoint you exact problem and will also help us to solve your problem.

Love is GOD and GOD is Love.
Anand Karia
IT Concretor.......
M/s. Anand Karia Concreting IT
I agree. Here's the link:
subject: DataBase Connection
It's not a secret anymore!