This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes JDBC 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 Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Databases » JDBC
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
Similar Threads
how to set auto increment field value ?
DSN Creation gives error
How to create database in Hypersonic?
Dynamic table using struts