Changeset 7750


Ignore:
Timestamp:
Sep 26, 2019, 3:49:09 PM (2 years ago)
Author:
Nicklas Nordborg
Message:

References #2185: Upgrade to Hibernate 5.4.x

Updated Hibernate to 5.4.5. The claim to have imporved performance https://in.relation.to/2019/09/17/hibernate-orm-5-4-5-Final/

No issues except needing to implement a few missing methods in the StatelessSessionWrapper class.

Location:
trunk
Files:
4 added
4 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/.classpath

    r7730 r7750  
    3535  <classpathentry kind="lib" path="lib/dist/poi-ooxml-4.0.1.jar"/>
    3636  <classpathentry kind="lib" path="lib/dist/poi-4.0.1.jar"/>
    37   <classpathentry kind="lib" path="lib/dist/hibernate-core-5.4.3.Final.jar"/>
     37  <classpathentry kind="lib" path="lib/dist/hibernate-core-5.4.5.Final.jar"/>
    3838  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11">
    3939    <attributes>
  • trunk/doc/3rd-party-components.txt

    r7727 r7750  
    4040
    4141More info : http://www.hibernate.org/
    42 Version   : 5.4.3
     42Version   : 5.4.5
    4343License   : LGPL (hibernate.license.txt)
    44 Jar files : hibernate-core-5.4.3.Final.jar, hibernate-commons-annotations-5.1.0.Final.jar,
     44Jar files : hibernate-core-5.4.5.Final.jar, hibernate-commons-annotations-5.1.0.Final.jar,
    4545            javax.persistence-api-2.2.jar,
    4646            antlr-2.7.7.jar, dom4j-2.1.1.jar, jandex-2.0.5.Final.jar,
    47             javassist-3.24.0-GA.jar, byte-buddy-1.9.10.jar, classmate-1.3.4.jar
     47            javassist-3.24.0-GA.jar, byte-buddy-1.9.11.jar, classmate-1.3.4.jar
    4848            jboss-logging-3.3.2.Final.jar, jboss-transaction-api_1.2_spec-1.1.1.Final.jar,
    49             c3p0-0.9.5.3.jar, hibernate-c3p0-5.4.3.Final.jar, mchange-commons-java-0.2.15.jar,
    50             ehcache-2.10.6.jar, hibernate-ehcache-5.4.3.Final.jar,
     49            c3p0-0.9.5.3.jar, hibernate-c3p0-5.4.5.Final.jar, mchange-commons-java-0.2.15.jar,
     50            ehcache-2.10.6.jar, hibernate-ehcache-5.4.5.Final.jar,
    5151            slf4j-api.1.7.25.jar, slf4j-log4j12-1.7.25.jar,
    5252            FastInfoset-1.2.15.jar, istack-commons-runtime-3.0.7.jar, stax-ex-1.8.jar,
  • trunk/src/core/net/sf/basedb/core/hibernate/StatelessSessionWrapper.java

    r7730 r7750  
    2424import java.io.Serializable;
    2525import java.sql.Connection;
     26
     27import javax.persistence.criteria.CriteriaDelete;
     28import javax.persistence.criteria.CriteriaQuery;
     29import javax.persistence.criteria.CriteriaUpdate;
    2630
    2731import org.hibernate.Criteria;
     
    417421    return q;
    418422  }
     423
     424  @Override
     425  public <T> Query<T> createQuery(CriteriaQuery<T> c)
     426  {
     427    return session.createQuery(c);
     428  }
     429
     430  @SuppressWarnings("rawtypes")
     431  @Override
     432  public Query createQuery(CriteriaUpdate c)
     433  {
     434    return session.createQuery(c);
     435  }
     436
     437  @SuppressWarnings("rawtypes")
     438  @Override
     439  public Query createQuery(CriteriaDelete c)
     440  {
     441    return session.createQuery(c);
     442  }
    419443 
    420444 
Note: See TracChangeset for help on using the changeset viewer.