SQL Timestamp Converter

See Also | Tutorials

Converts between java.lang.String values in your component properties and data types of java.sql.Timestamp, a wrapper around java.util.Date that allows the JDBC API to identify this as an SQL TIMESTAMP value. It adds the ability to hold the SQL TIMESTAMP nanos value and provides formatting and parsing operations to support the JDBC escape syntax for timestamp values.

The converter is usually applied to the property that a component uses to display values and to pick up values entered by users. For example, the Text Field component uses the text property for this purpose.

An example is binding a JavaServer Faces component to an Oracle database column of type TIMESTAMP. When you bind a component, the IDE normally identifies the data type for you and sets the appropriate converter when you establish a binding to the value property.  However, you can also add this converter manually by setting the component's converter property.

See Also
Common Component Properties
About the Visual Web Palette
Tutorials

Legal Notices