Data Types

[email protected]
Newsgroups gmane.comp.java.ejb.middlegen.user
Message-ID <[email protected]>
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



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.