Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-17958

Persistence container bytecode enhancement should not be enabled by default

XMLWordPrintable

      The setting `<property name="jboss.as.jpa.classtransformer" value="true"/>` for enabling bytecode enhancement has been supported for many years and will likely continue to be supported in the future.

      This issue is about changing the default for `jboss.as.jpa.classtransformer` from false to true, which means applications will now need to opt out of (JPA/Persistence container managed) bytecode enhancement if they do not want their entity classes to be bytecode enhanced.

      With this change, the Persistence container needClassFileTransformer will enable bytecode enhancement by default as per Hibernate ORM 6.2 defaults.

              smarlow1@redhat.com Scott Marlow
              smarlow1@redhat.com Scott Marlow
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: