[jboss-jira] [JBoss JIRA] (WFLY-6149) Improve control over 'hibernate.id.new_generator_mappings' setting

Scott Marlow (JIRA) issues at jboss.org
Tue Aug 29 12:42:00 EDT 2017


    [ https://issues.jboss.org/browse/WFLY-6149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13455586#comment-13455586 ] 

Scott Marlow commented on WFLY-6149:
------------------------------------

>From a discussion in the [Hibernate ORM Dev Hipchat room|https://www.hipchat.com/gDZHRKgWN], I heard that Hibernate ORM is looking into having system properties take precedence over the persistence.xml settings.

> Improve control over 'hibernate.id.new_generator_mappings' setting
> ------------------------------------------------------------------
>
>                 Key: WFLY-6149
>                 URL: https://issues.jboss.org/browse/WFLY-6149
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: JPA / Hibernate
>    Affects Versions: 9.0.2.Final, 10.0.0.Final
>            Reporter: Chris Poulsen
>
> It would be great if Wildfly offered better control over the properties used for configuring persistence units.
> For instance the 'hibernate.id.new_generator_mappings' setting has proven hard to control it currently requires one to change persistence.xml to turn it off.
> Hibernate supports specifying the properties in various ways, for example via system properties, but wildfly forces the new mappings to be enabled unless the persistence.xml says to disable them.
> There are some suggestions to how [~smarlow] imagines this to be implemented in the forum thread: https://developer.jboss.org/thread/267613



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list