8.3 Date/time溢出

JDBC is a core API of Java 1.1 and later. It provides a standard set of interfaces to SQL-compliant databases.

JDBC规范为驱动程序支持的指定的date、time 和 timestamp戳值定义了溢出。

    date:
      {d 'yyyy-mm-dd'} 转换为DATE 'yyyy-mm-dd'

    time:
      {t 'hh:mm:ss'} 转换为TIME 'hh:mm:ss'

    timestamp:
      {ts 'yyyy-mm-dd hh:mm:ss.f...'} 转换为TIMESTAMP 'yyyy-mm-dd hh:mm:ss.f' TIMESTAMP的第二部分,即(.f...)部分可以省略