[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1229) deprecate ability for entities to not define identifier properties
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:01:07 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-1229.
-------------------------------
Closing stale resolved issues
> deprecate ability for entities to not define identifier properties
> ------------------------------------------------------------------
>
> Key: HHH-1229
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1229
> Project: Hibernate Core
> Issue Type: Deprecation
> Components: core, documentation
> Reporter: Steve Ebersole
> Assignee: Gavin King
> Fix For: 3.1
>
>
> currently Hibernate allows mapping of entities which do not contain their identifier as property(ies). This is the
> <id column="my_id">...</id> syntax (notice no 'name' attribute).
> It then exposes several methods on the session to handle these entities by explicitly passing in the identifier value, so that Session.save(myEntity) becomes Session.save(myEntity, myEntityId). All such methods need to get moved to classic.Session and marked for deprecation.
> No scheduled removal of feature as of yet.
--
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