Converts between java.lang.String
values in your component
properties and data types of java.sql.Time
, a wrapper around the java.util.Date
class that allows the JDBC API to identify this as an SQL TIME value. The Time
class adds formatting and parsing operations to support the JDBC escape syntax for time 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 TIME
. 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
.