Martin Simka (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
) *created* an issue
Hibernate ORM (
https://hibernate.atlassian.net/browse/HHH?atlOrigin=eyJpIjoiYTY3YTMyZDc0...
) / Bug (
https://hibernate.atlassian.net/browse/HHH-16271?atlOrigin=eyJpIjoiYTY3YT...
) HHH-16271 (
https://hibernate.atlassian.net/browse/HHH-16271?atlOrigin=eyJpIjoiYTY3YT...
) BulkManipulationTest fails on Sybase with JZ0NK: Generated keys are not available
because either the Statement.NO_GENERATED_KEYS was used or no keys were automatically
generated. (
https://hibernate.atlassian.net/browse/HHH-16271?atlOrigin=eyJpIjoiYTY3YT...
)
Issue Type: Bug Affects Versions: 6.2.0.CR3 Assignee: Unassigned Components:
hibernate-core Created: 08/Mar/2023 08:45 AM Environment: Hibernate ORM 6.2.0.CR3 + Sybase
16.0 + Sybase JDBC driver (jConnect (TM) for JDBC(TM)/16.0 SP04 PL03 (Build 27544) + extra
connection parameters: `SQLINITSTRING=set quoted_identifier on&SQLINITSTRING=set
ansinull on` Priority: Major Reporter: Martin Simka (
https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%...
)
org.hibernate.orm.test.hql.BulkManipulationTest.testInsertAcrossMappedJoin
org.hibernate.orm.test.hql.BulkManipulationTest.testInsertIntoSuperclassPropertiesFails
fail with
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
(
https://hibernate.atlassian.net/browse/HHH-16271#add-comment?atlOrigin=ey...
) Add Comment (
https://hibernate.atlassian.net/browse/HHH-16271#add-comment?atlOrigin=ey...
)
Get Jira notifications on your phone! Download the Jira Cloud app for Android (
https://play.google.com/store/apps/details?id=com.atlassian.android.jira....
) or iOS (
https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=Em...
) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100217- sha1:c17c655 )