[hibernate-issues] [JIRA] (HHH-13939) H2Dialect @GeneratedValue regression on schema generation, uses sequence instead of generated by default as identity

IT Support (JIRA) jira at hibernate.atlassian.net
Tue Apr 7 17:15:21 EDT 2020


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

Re: H2Dialect @GeneratedValue regression on schema generation, uses sequence instead of generated by default as identity ( https://hibernate.atlassian.net/browse/HHH-13939?atlOrigin=eyJpIjoiMjEwZGQ1Y2Q1M2I2NGViMmJjZWMxZDNiMjM2YjAxNjciLCJwIjoiaiJ9 )

This may be a change in “design” ut not easily identified in the change logs - quoting https://docs.jboss.org/hibernate/orm/5.0/userguide/html_single/Hibernate_User_Guide.html#identifiers-generators :

> 
> 
> 
> The discussions below assume that the application is using Hibernate’s
> "new generator mappings" as indicated by the hibernate.id.new_generator_mappings
> setting or MetadataBuilder.enableNewIdentifierGeneratorSupport method
> during bootstrap. Starting with Hibernate 5, this is set to true by
> default. If applications set this to false the resolutions discussed here
> will be very different. The rest of the discussion here assumes this
> setting is enabled (true).
> 
> 

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

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#100124- sha1:c13ca0d )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/hibernate-issues/attachments/20200407/579b54a0/attachment.html 


More information about the hibernate-issues mailing list