Hello,
I recently upgraded my application from
Jboss 4.0.3 SP1 to
4.3.2GA and upon
testing this exception surfaced up. Basically in my code i am references collections rather then using explicit joins.
Where I referencing the
name property of the
permission entity.
Hibernate version 3.1 resolves this into an appropriate SQL join but
hibernate 3.2.4sp1 doesn't. Also this is a knows issue as per my research.
hibernate version which the application works fine (on Jboss 4.0.3sp1):
hibernate3.jar -- 3.1.rc2hibernate-annotations.jar -- 3.1beta5hibernate-entitymanager.jar -- 3.1beta3
After up upgrade to jboss 4.3.2GA
hibernate3.jar -- 3.2.4.sp1hibernate-annotations.jar -- 3.2.1.GAhibernate-entitymanager.jar -- 3.2.1.GA
I understand a downgrade would be the answer but to which version as
hibernate 3.1rc2 (and related components) which I was using were released in
"2005-10-17" and the
3.2.4sp1 was released in
"2007-05-18". So its a good 2 year of development and changes.
Q:
Now my concern is that how can I avoid this by not going through a code change ? Is their a workaround for this ?
Thank you.
Asad Imtiaz