Hi, I've got a problem using XDoclet with postgreSQL here...
I've got this simple entity bean, with 1 primary key (String) field, and
one int field...
Now XDoclet generates the following piece of jbosscmp-jdbc.xml:
<defaults>
<datasource>java:/PostgresDS</datasource>
<datasource-mapping>PostgreSQL 7.2</datasource-mapping>
</defaults>
<cmp-field>
<field-name>myInt</field-name>
<column-name>MY_INT</column-name>
<jdbc-type>INTEGER</jdbc-type>
<sql-type>INTEGER(9)</sql-type>
One would think this is correct, but INTEGER(9) is a syntax error in
postgreSQL...
I checked the {jboss.home}server/default/conf/standardjbosscmp-jdbc.xml
file, but there's no INTEGER(9) in there, so I guess it's something
XDoclet specific?
If so, what can I do about this?
Thanks
Hans
signature.asc
Description: This is a digitally signed message part
