[jboss-jira] [JBoss JIRA] (WFLY-11991) Add Hibernate ORM transformer option to transform any method parameter of type org.hibernate.engine.spi.SessionImplementor
Scott Marlow (Jira)
issues at jboss.org
Mon Apr 15 17:01:00 EDT 2019
[ https://issues.jboss.org/browse/WFLY-11991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13722697#comment-13722697 ]
Scott Marlow commented on WFLY-11991:
-------------------------------------
If the Hibernate51TransformSessImplMtds system property is set to true, then all class methods definitions in the application will be transformed from using type org.hibernate.engine.spi.SessionImplementor to instead use type org.hibernate.engine.spi.SharedSessionContractImplementor.
All method calls in the application will also be updated to switch from using type org.hibernate.engine.spi.SessionImplementor to instead use type org.hibernate.engine.spi.SharedSessionContractImplementor.
These changes will cover the case where the application contains code that must be changed to use SharedSessionContractImplementor instead of SessionImplementor.
The default for the Hibernate51TransformSessImplMtds system property is false (for backward compatibility)
> Add Hibernate ORM transformer option to transform any method parameter of type org.hibernate.engine.spi.SessionImplementor
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: WFLY-11991
> URL: https://issues.jboss.org/browse/WFLY-11991
> Project: WildFly
> Issue Type: Enhancement
> Components: JPA / Hibernate
> Reporter: Scott Marlow
> Assignee: Scott Marlow
> Priority: Major
> Attachments: afterchange.zip, beforechange.zip
>
>
> Test case (change) is [https://github.com/simkam/wildfly/compare/hibernate_transformer]. The idea is to transform any class method parameter of type org.hibernate.engine.spi.SessionImplementor, in user application for any class found that isn't in the org.hibernate package.
> [https://github.com/scottmarlow/wildfly/tree/WFLY-11991] also includes the test case (change), as well as in progress code changes.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list