blueiceprj / hibernate-generic-dao

Automatically exported from code.google.com/p/hibernate-generic-dao
0 stars 0 forks source link

NoSuchMethodError #107

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My exception :

java.lang.NoSuchMethodError: 
org.hibernate.SessionFactory.getCurrentSession()Lorg/hibernate/Session;
    at com.googlecode.genericdao.dao.hibernate.HibernateBaseDAO.getSession(HibernateBaseDAO.java:68)
      ......

My DAO-class:
public class CarInfoDAOImpl extends GenericDAOImpl<CarInfo, Long> implements 
CarInfoDAO<CarInfo> {

some-method() {
        Session session = getSession();
        query = session.createQuery(counthql);
}

}

My environment:
hibernate-generic-dao 1.2.0
hibernate: 3.6
DB: oracle11g
jdk 1.6.45

Original issue reported on code.google.com by igo...@gmail.com on 21 Sep 2013 at 5:55

GoogleCodeExporter commented 9 years ago
Is this relevant anymore?

Original comment by pablit...@gmail.com on 14 Jun 2014 at 7:05

GoogleCodeExporter commented 9 years ago
No reply from reporter.

Original comment by pablit...@gmail.com on 8 Jul 2014 at 3:21