D***@cexp.com
2003-09-25 21:24:02 UTC
I would like to add the @jboss.sql-type and @jboss.jdbc-type tags to the
entitybean
as follows:
public abstract void setSigneeFirstName(java.lang.String
signeeFirstName);
/**
* Returns the signeeMiddleName
* @todo support OracleClob,OracleBlob on WLS
*
* @return the signeeMiddleName
*
* @ejb.interface-method view-type="local"
* @ejb.persistence column-name="ACTN_SIGNEE_MIDDLE_NAME"
* @jboss.sql-type=VARCHAR(30)
* @jboss.jdbc-type=VARCHAR
*/
I tried changing the entity-cmp20.vm file to add:
## dshade 06/25/2003 added @jboss.sql-type, @jboss.jdbc-type
## * @jboss.sql-type=$column.sqlType
## * @jboss.jdbc-type=$column.javaType
...but this gave me incorrect results.
There must be an easier way...like for instance a change to the build.xml?
Don Shade
Boulder, CO
entitybean
as follows:
public abstract void setSigneeFirstName(java.lang.String
signeeFirstName);
/**
* Returns the signeeMiddleName
* @todo support OracleClob,OracleBlob on WLS
*
* @return the signeeMiddleName
*
* @ejb.interface-method view-type="local"
* @ejb.persistence column-name="ACTN_SIGNEE_MIDDLE_NAME"
* @jboss.sql-type=VARCHAR(30)
* @jboss.jdbc-type=VARCHAR
*/
I tried changing the entity-cmp20.vm file to add:
## dshade 06/25/2003 added @jboss.sql-type, @jboss.jdbc-type
## * @jboss.sql-type=$column.sqlType
## * @jboss.jdbc-type=$column.javaType
...but this gave me incorrect results.
There must be an easier way...like for instance a change to the build.xml?
Don Shade
Boulder, CO