Reputation: 71
I get a batch insert exception
having ERRORCODE "-4229"
and SQLSTATE
null
on executing the Prepared Statement. getNextException()
didn't work either.
Upvotes: 1
Views: 819
Reputation: 18945
According to the manual, you should use SQLException.getMessage()
to obtain the error details.
Upvotes: 2