[hibernate-issues] [Hibernate-JIRA] Commented: (HBX-905) Duplicate result data for objects using "select new SomeObject(p1, p2, p3)"

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Mon Feb 26 19:35:34 EST 2007


    [ http://opensource.atlassian.com/projects/hibernate/browse/HBX-905?page=comments#action_26319 ] 

Max Rydahl Andersen commented on HBX-905:
-----------------------------------------

this is because select new applies a resulttransformer which I can't "see" from the code...not sure if i can detect it.

> Duplicate result data for objects using "select new SomeObject(p1, p2, p3)"
> ---------------------------------------------------------------------------
>
>          Key: HBX-905
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HBX-905
>      Project: Hibernate Tools
>         Type: Bug

>     Versions: 3.2beta8
>     Reporter: Joseph Marques

>
>
> The results of this query are duplicated a number of times equal to the count of arguments to the constructor used.
> 0                      1                      2
> row1               row1               row1
> row2               row2               row2
> row3               row3               row3
> row4               row4               row4

-- 
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