[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2823) non-primary-key attribute 'id' mapped to primary-key
Wolfgang Hollweck (JIRA)
noreply at atlassian.com
Mon Sep 3 07:14:14 EDT 2007
non-primary-key attribute 'id' mapped to primary-key
-----------------------------------------------------
Key: HHH-2823
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2823
Project: Hibernate3
Issue Type: Bug
Components: core, metamodel, query-hql, query-sql
Affects Versions: 3.2.5
Reporter: Wolfgang Hollweck
When querying an entity that got a non-primary-key attribute 'id', 'id' is not mapped to 'id' but to the entity's primary-key attribute, though Hibernate doc claims "The special property (lowercase) id may be used to reference the identifier property of an entity (!!!) provided that entity does not define a non-identifier property named id."
see the hibernate forum for details:
http://forum.hibernate.org/viewtopic.php?t=979124
--
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