[jboss-jira] [JBoss JIRA] (WFLY-6854) Upgrade Hibernate ORM to 5.1.2

Gail Badner (JIRA) issues at jboss.org
Mon Oct 24 15:57:00 EDT 2016


    [ https://issues.jboss.org/browse/WFLY-6854?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13311067#comment-13311067 ] 

Gail Badner commented on WFLY-6854:
-----------------------------------

I'm changing the description to upgrade to 5.1.3, because 5.1.2 contains HHH-11155.

The reason for branching Hibernate 5.1 was to allow "fetch groups". In 5.0 and earlier, if any lazy property was initialized, then all lazy properties would automatically get initialized. 5.1 allows different combinations of lazy properties to be put into a "fetch group". The idea is that if any lazy property is a group is explicitly initialized, then Hibernate will initialized all properties in the fetch group. Any lazy properties that are not in the fetch group are unaffected. 

HHH-11155 is a bug where an update does not happen unless all lazy properties, regardless of fetch group, are initialized. This bug should be fixed before upgrading to 5.1.

> Upgrade Hibernate ORM to 5.1.2
> ------------------------------
>
>                 Key: WFLY-6854
>                 URL: https://issues.jboss.org/browse/WFLY-6854
>             Project: WildFly
>          Issue Type: Feature Request
>          Components: JPA / Hibernate
>            Reporter: Emmanuel Bernard
>            Assignee: Scott Marlow
>             Fix For: 11.0.0.Alpha1
>
>
> This is a follow up on WFLY-6682.
> After looking at the list of potential incompatibilities, we decided to not upgrade to 5.2 but instead to 5.1 to provide a smoother experience to users.
> We can consider adding a 5.2 optional switch via Jipijapa if bandwidth permit but let's treat it as a second issue and have [~smarlow] lead it.
> PS: I put v11Alpha1 but feel free to adjust it to any WF 11 version that fits best.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list