Hello,
In hopes of saving some other newbie the time:
You may occassionally run into an error such as:
Code:
Another object was associated with this id (the object with the given id was already loaded)
In my own case, I ran into intermittent problems on one application. After spending a significant amount of time testing, I realized I made a silly error: not calling
Code:
HibernateSession.closeSession();
after running a Criteria based query.
Good luck & thanks to all who've made Hibernate so cool.
http://www.fivesticks.com