If you have a persistent field with only a getter method, the generated 
BMP/CMP's setData still tries to do a setX() for it; the patch below fixes 
this.  It also includes the fixed </XDoclet:ifConfigParamNotEquals> tags 
again, though, which haven't made it CVS yet (couldn't be bothered to 
strip them out again before running the diff).


Andrew.

Index: core/resources/xdoclet/ejb/entitybmp.j
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/entitybmp.j,v
retrieving revision 1.10
diff -r1.10 entitybmp.j
16c16
<  <XDoclet:ifConfigParamNotEquals>
---
>  </XDoclet:ifConfigParamNotEquals>
46c46
<  <XDoclet:ifConfigParamNotEquals>
---
>  </XDoclet:ifConfigParamNotEquals>
59a60
>         <XDoclet:ifHasMethod name="<XDoclet:setterMethod/>" 
parameters="<XDoclet:methodType/>">
60a62
>         </XDoclet:ifHasMethod>
140c142
<  <XDoclet:ifConfigParamNotEquals>
---
>  </XDoclet:ifConfigParamNotEquals>
150c152
<      <XDoclet:ifConfigParamNotEquals>
---
>      </XDoclet:ifConfigParamNotEquals>
Index: core/resources/xdoclet/ejb/entitycmp.j
===================================================================
RCS file: 
/cvsroot/xdoclet/xdoclet/core/resources/xdoclet/ejb/entitycmp.j,v
retrieving revision 1.15
diff -r1.15 entitycmp.j
67a68
>          <XDoclet:ifHasMethod name="<XDoclet:setterMethod/>" 
parameters="<XDoclet:methodType/>">
68a70
>          </XDoclet:ifHasMethod>

_______________________________________________
Xdoclet-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-devel

Reply via email to