[JBoss JIRA] (WFLY-11991) Add Hibernate ORM transformer option to transform any method parameter of type org.hibernate.engine.spi.SessionImplementor
by Scott Marlow (Jira)
[ https://issues.jboss.org/browse/WFLY-11991?page=com.atlassian.jira.plugin... ]
Scott Marlow commented on WFLY-11991:
-------------------------------------
The attached afterchange.zip is from running with:
./standalone.sh -DHibernate51CompatibilityTransformer=true -DHibernate51CompatibilityTransformer.showTransformedClassFolder=/tmp/outfolder -DHibernate51TransformSessImplMtds=true
Some of the differences to determine if they are correct in output for BooleanAbstractStandardBasicType extends org/hibernate/type/AbstractStandardBasicType:
beforechange:
{quote}
private static internalSessionImplementorUsingMethod(Lorg/hibernate/engine/spi/SessionImplementor;)V
...
INVOKESTATIC org/jboss/as/test/compat/jpa/hibernate/transformer/BooleanAbstractStandardBasicType.internalSessionImplementorUsingMethod (Lorg/hibernate/engine/spi/SessionImplementor;)V
...
public set(Ljava/sql/PreparedStatement;Ljava/lang/Boolean;ILorg/hibernate/engine/spi/SessionImplementor;)V throws org/hibernate/HibernateException java/sql/SQLException
{quote}
afterchange:
{quote}
private static internalSessionImplementorUsingMethod(Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
...
INVOKESTATIC org/jboss/as/test/compat/jpa/hibernate/transformer/BooleanAbstractStandardBasicType.internalSessionImplementorUsingMethod (Lorg/hibernate/engine/spi/SharedSessionContractImplementor;)V
...
public set(Ljava/sql/PreparedStatement;Ljava/lang/Boolean;ILorg/hibernate/engine/spi/SharedSessionContractImplementor;)V throws org/hibernate/HibernateException java/sql/SQLException
{quote}
In question is whether the set() method should of been transformed.
> 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)
7 years, 3 months
[JBoss JIRA] (WFCORE-4422) Upgrade to galleon 4.0
by Jean Francois Denise (Jira)
Jean Francois Denise created WFCORE-4422:
--------------------------------------------
Summary: Upgrade to galleon 4.0
Key: WFCORE-4422
URL: https://issues.jboss.org/browse/WFCORE-4422
Project: WildFly Core
Issue Type: Component Upgrade
Reporter: Jean Francois Denise
Assignee: Jean Francois Denise
In order to make feature-packs dependencies "provided", we need to use 4.0 WildFly Galleon maven plugin.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months
[JBoss JIRA] (WFLY-11993) Prefer HTTPS over plain-text HTTP in default welcome-content
by Jan Stourac (Jira)
Jan Stourac created WFLY-11993:
----------------------------------
Summary: Prefer HTTPS over plain-text HTTP in default welcome-content
Key: WFLY-11993
URL: https://issues.jboss.org/browse/WFLY-11993
Project: WildFly
Issue Type: Enhancement
Components: Server, Web (Undertow)
Affects Versions: 16.0.0.Final
Reporter: Jan Stourac
Assignee: Brian Stansberry
We probably want to prefer HTTPS over simple HTTP when redirecting users to external links or resources in our default welcome-content stuff.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
7 years, 3 months