[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1470) Enhance Hibernate-Mapping DTD Definition of type element
Steve Ebersole (JIRA)
noreply at atlassian.com
Tue Aug 22 16:28:19 EDT 2006
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1470?page=all ]
Steve Ebersole closed HHH-1470:
-------------------------------
Fix Version: 3.2.0.ga
Resolution: Fixed
Assign To: Steve Ebersole
trunk/3.2
> Enhance Hibernate-Mapping DTD Definition of type element
> --------------------------------------------------------
>
> Key: HHH-1470
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1470
> Project: Hibernate3
> Type: Improvement
> Environment: Hibernate 3.1.x
> Reporter: Michael Plöd
> Assignee: Steve Ebersole
> Priority: Trivial
> Fix For: 3.2.0.ga
>
>
> As discussed with Steve in http://forum.hibernate.org/viewtopic.php?t=955303
> Could you please update the DTD Definition of "Element" as follows:
> <!ELEMENT element (column|formula|type)*>
> <!ATTLIST element column CDATA #IMPLIED>
> <!ATTLIST element node CDATA #IMPLIED>
> <!ATTLIST element formula CDATA #IMPLIED>
> <!ATTLIST element type CDATA #IMPLIED>
> <!ATTLIST element length CDATA #IMPLIED>
> <!ATTLIST element precision CDATA #IMPLIED>
> <!ATTLIST element scale CDATA #IMPLIED>
> <!ATTLIST element not-null (true|false) "false">
> <!ATTLIST element unique (true|false) "false">
> Actually type should be enabled as a child element of Element allowing users to add a parameter to a parameterized UserType inside an Element definition. Right now users will have to create a typedef with the parameter and place the name of the typedef in the attribute type. In addition to that the attribute definition of type must be set to IMPLIED.
> This would enalbe a mapping like that:
> <set name="ples" table="MY_PLES_TABLE">
> <key column="myClassId"/>
> <element>
> <type name="my.comp.common.hibernate.PleType">
> <param name="type">my.comp.domain.PleElement</param>
> </type>
> </element>
> </set>
--
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