User: vharcq
Date: 02/05/22 13:36:16
Modified: modules/ejb/src/xdoclet/modules/ejb/entity/resources Tag:
MODULE_REFACTORING_BRANCH dataobject.xdt
Log:
persistentField methods only takes fields from current class and do not look at
super classes. In cause : data/value objects toString and PK constructor
HashCOde should only takes fields of current object and also use hashcode of super
classes (I am not 100% sure but at least equals and hashcode should be equivalent)
Revision Changes Path
No revision
No revision
1.1.2.5 +1 -1
xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/resources/Attic/dataobject.xdt
Index: dataobject.xdt
===================================================================
RCS file:
/cvsroot/xdoclet/xdoclet/modules/ejb/src/xdoclet/modules/ejb/entity/resources/Attic/dataobject.xdt,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -u -w -r1.1.2.4 -r1.1.2.5
--- dataobject.xdt 21 May 2002 18:49:59 -0000 1.1.2.4
+++ dataobject.xdt 22 May 2002 20:36:16 -0000 1.1.2.5
@@ -168,7 +168,7 @@
int result = 17;
</XDtClass:ifDoesntHaveClassTag>
- <XDtEjbPersistent:forAllPersistentFields>
+ <XDtEjbPersistent:forAllPersistentFields superclasses="false">
<XDtMerge:merge
file="xdoclet/modules/ejb/entity/resources/entity-object-hashcode.xdt">
</XDtMerge:merge>
</XDtEjbPersistent:forAllPersistentFields>
_______________________________________________________________
Don't miss the 2002 Sprint PCS Application Developer's Conference
August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm
_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel