Changeset 7366


Ignore:
Timestamp:
May 17, 2017, 9:21:11 AM (5 years ago)
Author:
Nicklas Nordborg
Message:

References #2084: Upgrade to Hibernate 5.2

Temporary fix in HibernateUtil. Need to replace all org.hibernate.Query with org.hibernate.query.Query but that causes a lot of additional compilation errors. 22 errors and 1332 warnings remaining.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/hibernate-5.2/src/core/net/sf/basedb/core/HibernateUtil.java

    r7290 r7366  
    18001800      Query q = session.createQuery(hql);
    18011801      q.setFetchSize(getJdbcFetchSize());
    1802       return new EntityQueryWrapper(q);
     1802      return new EntityQueryWrapper((org.hibernate.query.Query)q);
    18031803    }
    18041804    catch (HibernateException ex)
     
    18201820      Query q = session.createQuery(hql);
    18211821      q.setFetchSize(getJdbcFetchSize());
    1822       return new EntityQueryWrapper(q);
     1822      return new EntityQueryWrapper((org.hibernate.query.Query)q);
    18231823    }
    18241824    catch (HibernateException ex)
Note: See TracChangeset for help on using the changeset viewer.