I have an
entity bean that defines the following getter/setter method pair in the bean
class:
/**
*
* @return
* @ejb:persistence
* @ejb:transaction
* type="Supports"
*
* @weblogic:dbms-column MILSTRIP_DATA
* @weblogic:dbms-column-type OracleClob
*
*/
public abstract String getMILSTRIP();
*
* @return
* @ejb:persistence
* @ejb:transaction
* type="Supports"
*
* @weblogic:dbms-column MILSTRIP_DATA
* @weblogic:dbms-column-type OracleClob
*
*/
public abstract String getMILSTRIP();
/**
*
* @param milstrip
*
* @ejb:transaction
* type="Mandatory"
*
*/
public abstract void setMILSTRIP(String milstrip);
*
* @param milstrip
*
* @ejb:transaction
* type="Mandatory"
*
*/
public abstract void setMILSTRIP(String milstrip);
When I run xdoclet
against this file, it generates the following cmp-field tag in the ejb-jar
file:
<cmp-field >
<description><![CDATA[]]></description>
<field-name>MILSTRIP</field-name>
</cmp-field>
<description><![CDATA[]]></description>
<field-name>MILSTRIP</field-name>
</cmp-field>
This is not right.
The field name should be "mILSTRIP" not "MILSTRIP". In 1.1.2, xdoclet generates
"mILSTRIP" which is right. When I run the generated ejb-jar file through appc
(weblogic precompiler), it fails when it hits this bean. I have a couple of
other beans where this is also a problem. Any ideas or fixes? Is this a bug that
I should report?
Grant