]
Jordan Laughlin updated HHH-1469:
---------------------------------
Attachment: CustomLoader.patch
Alias injection gives NPE
-------------------------
Key: HHH-1469
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-1469
Project: Hibernate3
Type: Bug
Components: core
Versions: 3.1.2
Environment: Hibernate v3.1.2 and MySQL 4.1.15
Reporter: Jordan Laughlin
Attachments: CustomLoader.patch, RelationshipTest.zip
Referred here by Max:
http://forum.hibernate.org/viewtopic.php?t=955238
Read the above forum post for more information.
There seems to be difficultly in building relationships between entities using
createSQLQuery and a join table (many-2-many). I verified the code works correctly in
Hibernate 3.0.4 (which, weirdly enough, is no longer offered). The same code fails in
3.1.2 (and I believe all 3.1 versions, although untested) with an
indexOutOfBoundsException.
I've attached code that should easily let the problem be reproduced to this issue.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: