This content has been marked as final.
Show 1 reply
-
1. Re: Sybase and NOT NULL columns
anajavi Oct 6, 2003 6:32 AM (in response to anajavi)Actually I found how to do it by modificating JBoss source:
org.jboss.ejb.plugins.cmp.jdbc.SQLUtil has the following:
buf.append(columnNames).append(" ").append(sqlTypes);
if(notNull) {
buf.append(" NOT NULL");
}
by adding:
else {
buf.append(" NULL");
}
Seems to work with PostgreSQL at least. Do not know if it breaks other db's.
Is it possible to have this kind of modification on JBoss source?