Hi,

Consider the following mapping, if the field "SCALE" has a NULL value in the
table, I will get a NullPointerException when cast it into Integer.
This kind of exception is really hard to trace. 

Can we do something to specify a DEFAULT value ? Otherwise people have to
declare it as String and cast it manually.

        <field name="scale" type="integer">
                <sql name="SCALE" type="numeric"/>
        </field>

And, is it possible to add more documents about Persistent interface? It
took me some time to figure out the life cycle. If there is a state diagram
about it, it will be great.

Thanks.

By the way, Castor rocks. I tried it for one week, now it is in our Product
Development. Very cool.

-- Zhongling "Alex" Li

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to