db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcin M <marti...@o2.pl>
Subject how to turn off warnings?
Date Mon, 18 Apr 2005 11:04:37 GMT
I would like to turn off unnecessary exceptions (database's warnings) thrown
when updating doesn't update anything, that means for example:
 UPDATE TimeStats SET Hour12 = Hour12 + 1 WHERE Today = CURRENT_DATE
table TimeStats is empty and there is an exception thrown:
java.sql.SQLException: Message: No row was found for FETCH, UPDATE or DELETE; or
the result of a query is an empty table.
SQLState: 02000 
How to turn off such exceptions?
thanx for reply

View raw message