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
Debugging Quicktable printer friendly version
next newest post | next oldest post
Author Messages
quesado{@}comsivam.org
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

Dear gentlemen,

As for starts, congratulations for DBTable. It is
really useful and easy
to use and configure.
I need your help, though, since I am trying to build
a generic table
editor which is inserting but it is not being able
to delete rows in
tables. I've set the error listener, and DBTable
does not return any
error after the control panel deletes a row - but
the rows is only
deleted on the JTable, not in the database itself,
since the next time
we load the table those are still there. I suspect
it is a problem
related to the act of committing the changes to the
database.

Any help will be really appreciated.
Thanks,
Eduardo
admin{@}quicktable.org
Unregistered
Edit or delete this message Reply w/Quote
Posted Wednesday, December 31, 1969 @ 23:59:59  

Eduardo,

I assume that the problem might be some thing to do with the insert/update/delete statements. Add the following code

Add the following
DriverManager.setLogStream(System.out);

after your line
//connect to database & create a connection
dBTable1.connectDatabase();

This will give you the log about what the jdbc driver does in the background ( about which sql is executed etc), this may give you some idea about your problem.

Thanks
Ben

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