The class
FieldConversion declares a protocol for type and value conversions between persistent classes attributes and counterpart objects supported by the JDBC specification, e.g.
String is supported by JDBC, so only an
empty field conversion is needed. But if the persistent class attribute is of type
int[]
a field conversion to a supported field type is needed - e.g.
int[] ---> String
.
The default implementation {@link FieldConversionDefaultImpl} does not modify its input.OJB users can use predefined implementation and can also build their own conversions that perform arbitrary mappings. The mapping has to defined in the OJB mapping configuration file - more see documentation.
@author Thomas Mahler
@version $Id: FieldConversion.java,v 1.6.2.2 2005/12/21 22:23:38 tomdz Exp $