db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nirmal Fernando <nirmal070...@gmail.com>
Subject Supporting nanoseconds resolution in an insertion
Date Wed, 01 Sep 2010 15:12:55 GMT
Hi All,

While referring to DateTimeTest I found the following test case [1].
I think we should allow up to nanoseconds, but I am wondering whether
it's not the ISO format.

Is it ok to change this test case?

A help is highly appreciated.


     *  Don't allow more than microseconds in ISO format: cloudscape
    public void testISOFormat_MoreThanMicroseconds() throws SQLException{
        Statement st = createStatement();

        assertStatementError("22007", st, "insert into ts (ts1) values "
                + "('2003-03-05-')");

        assertStatementError("22007", st, " insert into ts (ts1) values "
                + "('2003-03-05-')");

Best Regards,

C.S.Nirmal J. Fernando
Department of Computer Science & Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.

View raw message