27 January 2007

Hibernate identity column insert ignores update count on Sybase

Ran into a problem whereby an insert into a Sybase database failed but Hibernate reported no error. Instead a PK value of zero was assigned.

Posted a question on the forums
Sybase numeric overflow on insert does not fail as expected

but then decided to file a JIRA issue HHH-2388: Insert w/ identity column fails on Sybase but no exception occurs

No comments: