Object with id was not of the specified subclass
Can you tell what data records you have in DB?
It seems the id's between different tables has same value, so when hibernate is trying to load an entity with a specific id and if another entity with same id is already present in memory then hibernate is complaining about this issue.