[hibernate-issues] [JIRA] (HHH-9662) IllegalArgumentException when composite ID has IDENTITY generated value

IT Support (JIRA) jira at hibernate.atlassian.net
Wed Apr 22 17:58:34 EDT 2020


IT Support ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%3A7c7fc415-3805-43c8-9dfa-7cbe1117db94 ) *commented* on HHH-9662 ( https://hibernate.atlassian.net/browse/HHH-9662?atlOrigin=eyJpIjoiNjVlOTllMDQ5ZWEwNDdlNmI5ZGUxMjg3OGU4NTEzYzciLCJwIjoiaiJ9 )

Re: IllegalArgumentException when composite ID has IDENTITY generated value ( https://hibernate.atlassian.net/browse/HHH-9662?atlOrigin=eyJpIjoiNjVlOTllMDQ5ZWEwNDdlNmI5ZGUxMjg3OGU4NTEzYzciLCJwIjoiaiJ9 )

regarding the

> 
> 
> 
> there is a PR related to this issue ( https://github.com/hibernate/hibernate-orm/pull/3105
> ), you can try to verify if it solves the problem
> 
> 

I am finding the removing the column issue with SQLServer2012Dialect quite difficult. SQL Server requires an Identity column to be omitted from the insert, not just NULL / DEFAULT.

( https://hibernate.atlassian.net/browse/HHH-9662#add-comment?atlOrigin=eyJpIjoiNjVlOTllMDQ5ZWEwNDdlNmI5ZGUxMjg3OGU4NTEzYzciLCJwIjoiaiJ9 ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-9662#add-comment?atlOrigin=eyJpIjoiNjVlOTllMDQ5ZWEwNDdlNmI5ZGUxMjg3OGU4NTEzYzciLCJwIjoiaiJ9 )

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.core&referrer=utm_source%3DNotificationLink%26utm_medium%3DEmail ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailNotificationLink&mt=8 ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100125- sha1:0a83519 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200422/18e6f652/attachment.html 


More information about the hibernate-issues mailing list