1 Reply Latest reply on Oct 8, 2001 11:30 PM by davidjencks

    how to define a column that allow null in jaw.xml?

    guoqiao

      As the subject said, when I define the table for Sybase, I want to define some of the columns to allow null values.

      Thank you in advance.

        • 1. Re: how to define a column that allow null in jaw.xml?
          davidjencks

          Does sybase feature non-sql syntax where columns are not null by default? If so, is there a db setting where you can turn this off? If not, you will probably have to define your tables by means other than JAWS.

          If the problem is that you can define the tables with nullable columns but you get problems with your beans, note that for a column to be successfully nullable it must not map to a primitive type (int, long, etc) but to an Object- perhaps a wrapper such as Integer or Long.