executeUpdate with InnoDB

From: Wolfgang Ott (Wolfgang_Ott_at_gmx.de)
Date: 08/16/04


Date: Mon, 16 Aug 2004 10:02:15 +0200

I have a MySQL table of type InnoDB and try to make updates via JDBC
(mysql-connector-java-3.0.14-production-bin.jar). If the update can be
executed everything is ok. But if my SQL syntax is wrong, or referential
integrity is violated etc. then executedUpdate() does not throw an
SQLException but a null pointer exception. Does anyone know why?