Skip to Main Content

Java Database Connectivity (JDBC)

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javadb and ireport

843859Jul 25 2007 — edited Jul 25 2007
Hi

I am trying to set up a connection to the javadb database. I have created the database via the netbeans IDE and have a simple table. The table is located in C:\javadb\database.

My iReport connection settings are:
JDBC Driver - org.apache.derby.jdbc.EmbeddedDriver
JDBC URL - jdbc:derby://localhost:1527/contact_database

I have added derby.jar to the iReport classpath.
I have also copied derby.jar to my ireport library.

However when I test the connection I receive the following message:

General problem: null
Please check username and password.
The DBMS is running?!


My username and password are correct and I have started the database server from netbeans

Does anyone have any ideas?

Thanks GB

Message was edited by:
greenockboy
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 22 2007
Added on Jul 25 2007
1 comment
684 views