Class JdbcValueHandler.TimestampJdbcValueHandler

java.lang.Object
org.apache.ofbiz.entity.jdbc.JdbcValueHandler<Timestamp>
org.apache.ofbiz.entity.jdbc.JdbcValueHandler.TimestampJdbcValueHandler
Enclosing class:
JdbcValueHandler<T>

protected static class JdbcValueHandler.TimestampJdbcValueHandler extends JdbcValueHandler<Timestamp>
A java.sql.Timestamp JDBC value handler.

This JdbcValueHandler accommodates databases that don't support sub-second precision. If the date-time field type is a CHAR(30) SQL type, java.sql.Timestamps will be stored as JDBC timestamp escape format strings (yyyy-mm-dd hh:mm:ss.fffffffff), referenced to UTC.