[jboss-jira] [JBoss JIRA] (WFWIP-75) it's not possible to enable Hibernate Bytecode Transformer using j-d-s.xml
Scott Marlow (JIRA)
issues at jboss.org
Tue Jul 31 15:47:00 EDT 2018
[ https://issues.jboss.org/browse/WFWIP-75?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13612871#comment-13612871 ]
Scott Marlow commented on WFWIP-75:
-----------------------------------
Currently, we can use the globally with system property -DHibernate51CompatibilityTransformer=true or the j-d-s.xml, I'm not sure if it is safe to enable the transformer via both options at the same time, which is why I started working on the [https://github.com/scottmarlow/wildfly/tree/WFLY-10520_pr_hack_TransformedMarkerInterface] change.
> it's not possible to enable Hibernate Bytecode Transformer using j-d-s.xml
> --------------------------------------------------------------------------
>
> Key: WFWIP-75
> URL: https://issues.jboss.org/browse/WFWIP-75
> Project: WildFly WIP
> Issue Type: Bug
> Components: JPA
> Reporter: Martin Simka
> Assignee: Scott Marlow
> Priority: Blocker
>
> based on testing with https://github.com/scottmarlow/wildfly/tree/WFLY-10520_pr_hack
> it's not possible to enable transformer for application in {{jboss-deployment-structure.xml}}.
> there are probably more issues
> # application has to have dependency on module {{org.hibernate.bytecodetransfomer}} (which is ok, users must edit j-d-s.xml anyway) / or {{org.hibernate.bytecodetransfomer}} must be global module
> # transformer has private constructor so {{ClassFileTransformerProcessor}} cannot instantiate it
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list