At least one Hibernate resolution
July 5, 2006 Leave a comment
Okay, one of the issues I identified is my fault. I can use JavaBeans that don’t have id fields as long as I leave the “name” attribute out of the <id> element in the mapping document. The reason I was throwing an exception is that I was still using the same test cases from before, and one of them tried to retrieve an element by id. Duh.
Okay, at least that makes sense.