AN SQL table logger uses the setObject()
method to convert the following Java types to their default SQL data-types as specified by JDBC:
String
Number
java.sql.Timestamp
java.sql.Date
A java.util.Date
property value is first converted to a java.sql.Timestamp
and then setObject()
is called on it. Properties of other data-types are logged as strings, using the toString()
method on the property value.