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 > General QuickTable Support/Help Post New Topic   Post A Reply
Infinite Insert Loop Bug printer friendly version
next newest post | next oldest post
Author Messages
mik
Private

Gender: Unspecified
Location:
Registered: May 2008
Status: Offline
Posts: 2

Click here to see the profile for mik Send email to mik Send private message to mik Find more posts by mik Edit or delete this message Reply w/Quote
Posted Tuesday, May 27, 2008 @ 05:17:40  

Hello!

I am currently testing quicktable but have a weird bug with it.

I have a simple table where some rows can't be null (DOUBLE NOT NULL)
if i make an error and try to make a new row (wiht the auto generated control panel), I have an exception (com.mysql.jdbc.exceptions.jdbc4.MySQLIntegrityConstraintViolationException: Column 'depense_reele' cannot be null) and a popup message "Column cant be null", but the cursor goes on a new row.

If I try to save this new row, it works, but it saves it indefinitly with new Id values each time (auto incremented id). I have to interrupt the program and clean the database.

Cheers!

mik
Private

Gender: Unspecified
Location:
Registered: May 2008
Status: Offline
Posts: 2

Click here to see the profile for mik Send email to mik Send private message to mik Find more posts by mik Edit or delete this message Reply w/Quote
Posted Tuesday, May 27, 2008 @ 05:23:05  

I will add that i use the setNullable(false) method on the column, but it doesnt change anything.

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 Wednesday, May 28, 2008 @ 19:23:29  

Could you enable debug by dbTable.debug=true and send the debug log to support at quicktable.org we will review this.
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