Strange Hibernate behaviour

At work I decided to implement some DAO files in Hibernate. I started by making the smallest DAO first, and began with the work.

After making two HibernateDAO classes and beginning the third (file2DAO), which does nearly the same as second one (file1DAO). I simply copied all the data from the file1.hbm.xml file to the final file2.hbm.xml and edited the file to adjust it to the file2’s class.

Read more »