Message:
The following issue has been closed.
Resolver: Max Rydahl Andersen
Date: Wed, 3 Sep 2003 2:21 PM
fixed.
---------------------------------------------------------------------
View the issue:
http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-284
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HB-284
Summary: Add <meta attribute="extends"> to <composite-id> for hbm2java
Type: Improvement
Status: Closed
Priority: Minor
Resolution: FIXED
Project: Hibernate2
Components:
toolset
Versions:
2.0.2
Assignee: Max Rydahl Andersen
Reporter: Eric Fenderbosch
Created: Fri, 22 Aug 2003 1:23 PM
Updated: Wed, 3 Sep 2003 2:21 PM
Environment: N/A
Description:
<class
name="com.fedex.cc.objectlib.tariff.TariffAccessorialState"
table="TARIFF_ACCESSORIAL">
<meta attribute="extends">PersistentState</meta>
<composite-id name="id" class="com.fedex.cc.objectlib.tariff.TariffAccessorialIdentity">
<key-property name="seqId" column="SEQ_ID" type="long"/>
<key-property name="tariffId" column="TARIFF_ID" type="long"/>
<meta attribute="extends">PersistentIdentity</meta>
</composite-id>
<!-- ... --->
</class>
This would generate 2 classes:
public class TariffAccessorialState extends PersistentState { ... }
public class TariffAccessorialIdentity extends PersistentIdentity { ... }
Note that TariffAccessorialIdentity extends PersistentIdentity not PersistentState.
---------------------------------------------------------------------
JIRA INFORMATION:
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
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
|