[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-1469) Alias injection gives NPE

Jordan Laughlin (JIRA) noreply at atlassian.com
Fri Nov 10 22:06:04 EST 2006


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1469?page=all ]

Jordan Laughlin updated HHH-1469:
---------------------------------

    Attachment: SQLQueryReturnProcessor.patch
                SQLQueryParser.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, SQLQueryParser.patch, SQLQueryReturnProcessor.patch
>
>
> 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