Hibernate version: 3.2.2
JDK: 1.4
Hi! I'm happy to leave my first post on hibernate forum!
The problem: i was able to generate and compile pojos files with hbm2java ant target but trying to compile dao interfaces (created with hbm2dao) i got a bunch of these:
Code:
/home/ceztko/development/thgroup/visionehrcv/src/com/thgroup/visionehrcv/model/StatoValutazioneHome.java:99: cannot resolve symbol
symbol : method get (java.lang.String,int)
location: interface org.hibernate.classic.Session
StatoValutazione instance = (StatoValutazione) sessionFactory.getCurrentSession().get("com.thgroup.visionehrcv.model.StatoValutazione", id);
^
The same error is on all dao classes, all at line 99. My classpath looks OK (surely it see hibernate3.jar, most recent stable version. Dunno if other *.jars are needed, but no NoClassDefFoundError here :-(
Looked hibernate sources and get method with parms String and int is there, in the org.hibernate.Session superclass! So seems no problem there too...
Thanks for your attention!
Francesco, ceztko