Donald, Berin,

while on my quest to mess with object relational databases I tried to
add support for collections, rows and objects to
AbstractDatabaseAction. Unfortunately, "now" (@type in descriptor
file) is mapped to java.sql.Types.OTHER and setColumn does

    case Types.OTHER:
        statement.setTimestamp(position, new Timestamp((new 
java.util.Date()).getTime()));

Since OTHER seems to be reserved for columns that are accessed through
getObject / setObject this seems to be a hack of some sort.

Would you mind if I drop this one and put 

    case Types.OTHER:
        statement.setObject(position, value);

in there instead?

Any other suggestion, like another java.sql.Types constant to use instead?

        Chris.

-- 
C h r i s t i a n       H a u l
[EMAIL PROTECTED]
    fingerprint: 99B0 1D9D 7919 644A 4837  7D73 FEF9 6856 335A 9E08

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to