Package org.hibernate.annotations
Class NoAttributeConverter<O,R>
java.lang.Object
org.hibernate.annotations.NoAttributeConverter<O,R>
- All Implemented Interfaces:
AttributeConverter<O,R>
@Deprecated(since="6.2")
@Remove
public class NoAttributeConverter<O,R>
extends Object
implements AttributeConverter<O,R>
Deprecated.
this class is no longer used
- Author:
- Steve Ebersole
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn(Object attribute) Deprecated.Converts the value stored in the entity attribute into the data representation to be stored in the database.convertToEntityAttribute(Object dbData) Deprecated.Converts the data stored in the database column into the value to be stored in the entity attribute.
-
Constructor Details
-
NoAttributeConverter
public NoAttributeConverter()Deprecated.
-
-
Method Details
-
convertToDatabaseColumn
Deprecated.Description copied from interface:AttributeConverterConverts the value stored in the entity attribute into the data representation to be stored in the database.- Specified by:
convertToDatabaseColumnin interfaceAttributeConverter<O,R> - Parameters:
attribute- the entity attribute value to be converted- Returns:
- the converted data to be stored in the database column
-
convertToEntityAttribute
Deprecated.Description copied from interface:AttributeConverterConverts the data stored in the database column into the value to be stored in the entity attribute. Note that it is the responsibility of the converter writer to specify the correctdbDatatype for the corresponding column for use by the JDBC driver: i.e., persistence providers are not expected to do such type conversion.- Specified by:
convertToEntityAttributein interfaceAttributeConverter<O,R> - Parameters:
dbData- the data from the database column to be converted- Returns:
- the converted value to be stored in the entity attribute
-