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.
Conversion error occurred.
name: 'entered-value' must be a converter-type.
In this message, name is either the ID of the component or the contents of its label if the component has one, entered-value is the value that the user entered, and converter-type is the type of the converter. For example, if the converter is a Big Decimal converter, the converter-type is signed decimal number
.