Monday, December 26, 2005

Hibernate: criteria, composite keys and joins

I had a hard time to make Hibernate to generate automatically a join between two tables, only because one of them had a composite key that was defined in a separate (inner) class. But after some time, I managed to make it work, by "faking" a property that is not updateable. I am not sure if it is a bug or a "feature". Anyway, a person just yesterday had the same problem and here is the thread, including my comment. Check the report.
Post a Comment