craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > JDBC/Database Issues Post New Topic   Post A Reply
Derby Database: Server connection. printer friendly version
next newest post | next oldest post
Author Messages
sarel@sjtech.co.za
Unregistered
Edit or delete this message Reply w/Quote
Posted Tuesday, August 7, 2007 @ 03:54:33  

The following code is required is used to connect to a Derby database using the Class.forName statement
and setting the connection.

Class.forName("org.apache.derby.jdbc.ClientDriver").newInstance();
conn = DriverManager.getConnection("jdbc:derby:testDB;create=false");

Since I cannot set the Database driver in the same manner ".newInstance()" I am unable to use the QuickTable.
Are there a work around to this problem

dBTable1.setDatabaseDriver("org.apache.derby.jdbc.ClientDriver").newInstance();
dBTable1.setJdbcUrl("jdbc:derby:testDB;create=false");

Thanks

Sarel
email: sarel at sjtech.co.za

sarel@sjtech.co.za
Unregistered
Edit or delete this message Reply w/Quote
Posted Tuesday, August 7, 2007 @ 04:15:34  

Thanks I got the solution> Was using theurl for embedded system not server.

I you have need for same solution, email I I will try and help.

Thanks

Sarel

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Thursday, August 9, 2007 @ 08:45:58  

Please do not use the email addresses in the forum, you will get lot of junk mails.
Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios