[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2282) PersistentClass property lookups do not properly account for embedded composite identifiers
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Dec 4 13:07:04 EST 2006
PersistentClass property lookups do not properly account for embedded composite identifiers
-------------------------------------------------------------------------------------------
Key: HHH-2282
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2282
Project: Hibernate3
Type: Improvement
Components: metamodel
Reporter: Steve Ebersole
Assigned to: Steve Ebersole
Fix For: 3.2.2
For example, given:
<class Order ...>
<composite-id>
<key-property name="customerId" .../>
<key-property name="orderNumber" .../>
</composite-id>
</class>
the following calls all fail to locate the property:
cfg.getClassMapping( Order.class.getName() ).getProperty( "customerId" );
cfg.getClassMapping( Order.class.getName() ).getReferencedProperty( "customerId" );
cfg.getClassMapping( Order.class.getName() ).getRecursiveProperty( "customerId" );
This is due to the special handling of the identifier...
--
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