Hi,
I have a class with many-to-one relations included.
In Hibernate 3.1rc2 Hibernate generates sequential selects to retrieve the many-to-one relations (without having fetch="select" for these many-to-one relations).
When trying to migrate to Hibernate 3.2.2 or 3.2.5 (I have tried both) Hibernate generates a single select with inner joins to retrieve the object and all associated many-to-one relations (even if an explicit fetch="select" was added on relations). That produce a DB2 error:"The statement include to many columns, more than 1012, and I have 1169". If Hibernate would generate sequential selects, the problem would be resolved.
Thanks, Cristian.
|