[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2921) Polymorphic query breaks if entity proxy already exists in session

Hung Tran Dinh (JIRA) noreply at atlassian.com
Thu Feb 5 23:35:48 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2921?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32333#action_32333 ] 

Hung Tran Dinh commented on HHH-2921:
-------------------------------------

I am running into the same issue, I disagree with Gail Badner. 

As I understand the bug,  "Evicting the proxy for the superclass entity prior to executing polymorphic query will NOT solve the problem for sure". Evicting the proxy is easy, but it's really complexity to re-associate it with other existing entities in session. I totally agree with Johan, this code should be done at level of Hibernate.

I don't know why this issue is rejected to fix. I suggest opening the issue again.



> Polymorphic query breaks if entity proxy already exists in session
> ------------------------------------------------------------------
>
>                 Key: HHH-2921
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2921
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.2.5
>         Environment: 3.2.5, PostgreSQL 8.1.2, jdk1.5.0_08, Windows XP
>            Reporter: Johan Hoogenboezem
>            Assignee: Gail Badner
>
> I posted to the user forum about this on Oct 26 (http://forum.hibernate.org/viewtopic.php?t=980752). I've had no reply. This is a serious hassle for me, so I submit it as a bug.

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