pals Im getting an exeption while querying the DB with hibernate. Im provding the code snippet where I get the exception, the related mapping (hbm file) and the exception trace. Please suggest me what shud be done.
When I googled, I got the info that this exception arises while leaving an unsaved child object to the database when a parent object is saved. But in my case Im trying to query the database.