TIME provides for storage of a time-of-day value.
TIME
java.sql.Time
TIME
Dates, times, and timestamps cannot be mixed with one another in expressions except with a CAST.
hh:mm[:ss] hh.mm[.ss] hh[:mm] {AM | PM}The first of the three formats above is the java.sql.Time format.
Hours may have one or two digits. Minutes and seconds, if present, must have two digits.
Derby also accepts strings in the locale specific datetime format, using the locale of the database server. If there is an ambiguity, the built-in formats above take precedence.
VALUES TIME('15:09:02') VALUES '15:09:02'