3 Replies Latest reply on Feb 17, 2002 2:49 AM by ronster

    create table question

    ronster

      CMP automatically created tables always seems to use the data types in the default mappings

      eg VARCHAR's are always created with size 255

      is there a way of overwriting this on a per field basis?

      I having this in my jaws.xml

      <cmp-field>
      <field-name>city</field-name>
      <column-name>city</column-name>
      <sql-type>VARCHAR(30)</sql-type>
      <jdbc-type>VARCHAR</jdbc-type>
      </cmp-field>

      under the entity tag for the bean but it doesn't make any difference

      I'm using a mysql database