AN SQL table logger uses the setObject() method to convert the following Java types to their default SQL data-types as specified by JDBC:

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.

Copyright © 1997, 2013 Oracle and/or its affiliates. All rights reserved. Legal Notices