Update of
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources
In directory
sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11678/modules/hibernate/src/xdoclet/modules/hibernate/resources
Modified Files:
hibernate.xdt
Log Message:
XDT-910: Allow an interface as composite-id, take actual type from tag
attributes instead
Index: hibernate.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/hibernate/src/xdoclet/modules/hibernate/resources/hibernate.xdt,v
retrieving revision 1.36
retrieving revision 1.37
diff -C2 -r1.36 -r1.37
*** hibernate.xdt 18 Apr 2005 22:09:55 -0000 1.36
--- hibernate.xdt 20 Apr 2005 21:56:23 -0000 1.37
***************
*** 15,19 ****
auto-import="<XDtClass:classTagValue tagName="hibernate.mapping"
paramName="auto-import" values="true,false" />"
</XDtClass:ifHasClassTag>
! >
<XDtHibernate:logMapping/>
--- 15,19 ----
auto-import="<XDtClass:classTagValue tagName="hibernate.mapping"
paramName="auto-import" values="true,false" />"
</XDtClass:ifHasClassTag>
! >
<XDtHibernate:logMapping/>
***************
*** 144,156 ****
<composite-id
name="<XDtMethod:propertyName/>"
! class="<XDtMethod:methodTagValue tagName="hibernate.id"
paramName="class" default="<XDtMethod:methodType/>"/>"
<XDtMethod:ifHasMethodTag tagName="hibernate.id"
paramName="unsaved-value">
unsaved-value="<XDtMethod:methodTagValue tagName="hibernate.id"
paramName="unsaved-value" values="any,none"/>"
</XDtMethod:ifHasMethodTag>
>
! <XDtClass:pushClass value="<XDtMethod:methodType/>">
<XDtMethod:forAllMethods superclasses="true" sort="true">
<XDtMethod:ifHasMethodTag tagName="hibernate.property">
! <key-property
name="<XDtMethod:propertyName />"
type="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="type"
default="<XDtMethod:methodType/>"/>"
--- 144,156 ----
<composite-id
name="<XDtMethod:propertyName/>"
! class="<XDtMethod:methodTagValue tagName="hibernate.id"
paramName="type" default="<XDtMethod:methodType/>"/>"
<XDtMethod:ifHasMethodTag tagName="hibernate.id"
paramName="unsaved-value">
unsaved-value="<XDtMethod:methodTagValue tagName="hibernate.id"
paramName="unsaved-value" values="any,none"/>"
</XDtMethod:ifHasMethodTag>
>
! <XDtClass:pushClass value='<XDtMethod:methodTagValue
tagName="hibernate.id" paramName="type" default="<XDtMethod:methodType/>"/>'>
<XDtMethod:forAllMethods superclasses="true" sort="true">
<XDtMethod:ifHasMethodTag tagName="hibernate.property">
! <key-property
name="<XDtMethod:propertyName />"
type="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="type"
default="<XDtMethod:methodType/>"/>"
***************
*** 159,163 ****
length="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="length" />"
</XDtMethod:ifHasMethodTag>
! />
</XDtMethod:ifHasMethodTag>
--- 159,163 ----
length="<XDtMethod:methodTagValue
tagName="hibernate.property" paramName="length" />"
</XDtMethod:ifHasMethodTag>
! />
</XDtMethod:ifHasMethodTag>
-------------------------------------------------------
This SF.Net email is sponsored by: New Crystal Reports XI.
Version 11 adds new functionality designed to reduce time involved in
creating, integrating, and deploying reporting solutions. Free runtime info,
new features, or free trial, at: http://www.businessobjects.com/devxi/728
_______________________________________________
xdoclet-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel