Well, to my shame, i've renamed hibernate3.cfg.xml to hibernate.cfg.xml (and changed session factory config accordingly).
And everything works fine.
Seems like the problem is only reproduced when dinamic mapping is generated from database table and hibernate.cfg.xml without any mapping is on classpass. That's exactly what was stated by Isomorphic a few posts earlier.
I think this testcase is very uncommon. But maybe it's worth mentioning in documentation, cause in theory someone can have some mappings generated from database tables and others - from hibernate beans.
And everything works fine.
Seems like the problem is only reproduced when dinamic mapping is generated from database table and hibernate.cfg.xml without any mapping is on classpass. That's exactly what was stated by Isomorphic a few posts earlier.
I think this testcase is very uncommon. But maybe it's worth mentioning in documentation, cause in theory someone can have some mappings generated from database tables and others - from hibernate beans.
Comment