[hibernate-issues] [Hibernate-JIRA] Resolved: (HHH-5708) org.hibernate.Interceptor.instantiate(String entityName, EntityMode entityMode, Serializable id) does not have any way of leveraging the EntityPersister to set the identifier

Gail Badner (JIRA) noreply at atlassian.com
Mon Dec 13 19:00:13 EST 2010


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5708?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gail Badner resolved HHH-5708.
------------------------------

      Assignee: Gail Badner
    Resolution: Rejected

Please use the forum for help.

> org.hibernate.Interceptor.instantiate(String entityName, EntityMode entityMode, Serializable id) does not have any way of leveraging the EntityPersister to set the identifier
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: HHH-5708
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5708
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.5.6, 3.6.0
>            Reporter: Chris Webb
>            Assignee: Gail Badner
>
> Would it be better to past the EntityPersister through rather than just the entityName to the Interceptor.instantiate(String entityName, EntityMode entityMode, Serializable id) method so that the implementation could set the identifier using the EntityPersister?
> Currently I have used the work around as described here (https://forum.hibernate.org/viewtopic.php?f=1&t=997310&p=2437806#p2437806) but I suspect this might not be correct for all situations.

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