Class TimestampType

  • All Implemented Interfaces:
    PrioritizedService

    public class TimestampType
    extends DateTimeType
    Data type support for TIMESTAMP data types in various DBMS. All DBMS are at least expected to support the year, month, day, hour, minute and second parts. Optionally, fractional seconds and time zone information can be specified as well.
    • Constructor Detail

      • TimestampType

        public TimestampType()
    • Method Detail

      • toDatabaseDataType

        public DatabaseDataType toDatabaseDataType​(Database database)
        Returns a DBMS-specific String representation of this TimestampType for use in SQL statements.
        Overrides:
        toDatabaseDataType in class DateTimeType
        Parameters:
        database - the database for which the String must be generated
        Returns:
        a String with the DBMS-specific type specification