[
https://issues.jboss.org/browse/WFLY-11991?page=com.atlassian.jira.plugin...
]
Scott Marlow commented on WFLY-11991:
-------------------------------------
beforechange.zip contains org_jboss_as_test_compat_jpa_hibernate_transformer_StateType.asm
which contains the test class that is currently failing.
Note that the [test StateType
internalSessionImplementorUsingMethod|https://github.com/wildfly/wildfly/...]
class method didn't seem to get transformed:
{code}
private static void internalSessionImplementorUsingMethod(SessionImplementor session) {
session.isTransactionInProgress();
}
{code}
{quote}
private static
internalSessionImplementorUsingMethod(Lorg/hibernate/engine/spi/SessionImplementor;)V
L0
LINENUMBER 57 L0
ALOAD 0
INVOKEINTERFACE org/hibernate/engine/spi/SessionImplementor.isTransactionInProgress
()Z (itf)
POP
L1
LINENUMBER 58 L1
RETURN
L2
LOCALVARIABLE session Lorg/hibernate/engine/spi/SessionImplementor; L0 L2 0
MAXSTACK = 1
MAXLOCALS = 1
{quote}
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: beforechange.zip
Use case 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.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)