@Target({TYPE,METHOD,FIELD})
@Retention(RUNTIME)
@Repeatable(StructConverters.class)
public @interface StructConverter
A StructConverter is a special type of converter that handles the conversion of a specific
database Struct type. This is normally used for extended database types such as spatial geometric types.
A StructConverter is different from a regular attribute Converter, and does not implement the same interface.
A StructConverter will be used to convert any matching Struct type.
- See Also:
-
Required Element Summary
Required Elements
-
Element Details
-
name
String nameThe name of this converter. The name should be unique across the whole persistence unit. -
converter
String converterThe StructConverter class to be used. This class must implement the StructConverter interface.You may also alternatively specify a pre-defined StructConverterType
- See Also:
-