Caused by: java.sql.SQLException: JZ0NK: Generated keys are not available because either the Statement.NO_GENERATED_KEYS was used or no keys were automatically generated.
at com.sybase.jdbc4.jdbc.ErrorMessage.raiseError(ErrorMessage.java:832)
at com.sybase.jdbc4.jdbc.SybStatement.getGeneratedKeys(SybStatement.java:1324)
at org.hibernate.id.insert.GetGeneratedKeysDelegate.executeAndExtract(GetGeneratedKeysDelegate.java:158)
... 24 more