[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-1469) Alias injection gives NPE
Jordan Laughlin (JIRA)
noreply at atlassian.com
Thu Nov 2 02:11:05 EST 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1469?page=comments#action_25069 ]
Jordan Laughlin commented on HHH-1469:
--------------------------------------
Any update on this? I've given a pretty clear test case that reproduces the problem and it would be a big help if this could be fixed. Sadly, the code producing this problem is pretty complex, otherwise I'd try getting in a 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: 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:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list