[jboss-jira] [JBoss JIRA] (WFLY-10520) Add Hibernate ORM 5.3 compatibility transformer

David Lloyd (JIRA) issues at jboss.org
Tue Jun 12 11:29:00 EDT 2018


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

David Lloyd commented on WFLY-10520:
------------------------------------

{quote}
1. Enum org.hibernate.FlushMode.NEVER (0) is deprecated in 5.1, and removed from 5.2; FlushMode.MANUAL (0) should be used instead.

Should the transformer change references to FlushMode.NEVER to FlushMode.MANUAL?
{quote}

FWIW that sounds like a good idea to me.

{quote}
4. In 5.3, Integer.MAX_VALUE will be returned from Query.getMaxResults(), the transformer should also check for this value and replace with null reference.
{quote}

+1

The rest I don't know about.

> Add Hibernate ORM 5.3 compatibility transformer
> -----------------------------------------------
>
>                 Key: WFLY-10520
>                 URL: https://issues.jboss.org/browse/WFLY-10520
>             Project: WildFly
>          Issue Type: Task
>          Components: JPA / Hibernate
>            Reporter: Gail Badner
>            Assignee: Scott Marlow
>             Fix For: 14.0.0.CR1
>
>
> A compatibility transformer needs to be added to address Hibernate ORM 5.3 API methods that are no longer compatible with 5.1.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list