[jboss-jira] [JBoss JIRA] (WFLY-6033) enable JPA entity class transformation if any of the new Hibernate enhancer properties are enabled

Scott Marlow (JIRA) issues at jboss.org
Tue Jan 19 17:04:00 EST 2016


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

Scott Marlow commented on WFLY-6033:
------------------------------------

This change ensures that Hibernate 5.0 class transformation will be allowed.  Current workaround is for application to set persistence unit property jboss.as.jpa.classtransformer="true"

> enable JPA entity class transformation if any of the new Hibernate enhancer properties are enabled
> --------------------------------------------------------------------------------------------------
>
>                 Key: WFLY-6033
>                 URL: https://issues.jboss.org/browse/WFLY-6033
>             Project: WildFly
>          Issue Type: Bug
>          Components: JPA / Hibernate
>    Affects Versions: 10.0.0.CR5
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>
> See new Hibernate properties at [https://github.com/hibernate/hibernate-orm/commit/809e3cf4b9eda5c8922bb8a04292dbd29aa3c793].
> New properties that influence entity class transformation are:
> {quote}
> hibernate.enhancer.enableDirtyTracking
> hibernate.enhancer.enableLazyInitialization
> hibernate.enhancer.enableAssociationManagement
> {quote}
> If any of the above properties are true, it is the same as the application setting jboss.as.jpa.classtransformer=true.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list