Converts between java.lang.String
values in your component
properties and data types of java.sql.Date
, a wrapper around a millisecond value that allows
JDBC to identify this as an SQL DATE
value. A milliseconds value represents the number of milliseconds that have passed since January 1, 1970 00:00:00.000 GMT.
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 DATE
. 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
.