[jboss-jira] [JBoss JIRA] (WFLY-8858) Remove JPA container check for deprecated hibernate.ejb.use_class_enhancer

Scott Marlow (JIRA) issues at jboss.org
Fri Jan 19 12:59:00 EST 2018


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

Scott Marlow commented on WFLY-8858:
------------------------------------

Also note that Hibernate doesn't rewrite entity classes by default, as per discussion on [http://lists.jboss.org/pipermail/hibernate-dev/2018-January/017072.html]

> Remove JPA container check for deprecated hibernate.ejb.use_class_enhancer
> --------------------------------------------------------------------------
>
>                 Key: WFLY-8858
>                 URL: https://issues.jboss.org/browse/WFLY-8858
>             Project: WildFly
>          Issue Type: Task
>          Components: JPA / Hibernate
>            Reporter: Scott Marlow
>            Assignee: Scott Marlow
>             Fix For: 12.0.0.Alpha1
>
>
> Applications can instead use the jboss.as.jpa.classtransformer property to control whether the application can use entity class rewriting.  Starting with Hibernate ORM 5.0+, Hibernate defaults to always rewrite entity classes.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list