Class Shirt.ShirtStringToIntegerConverter
java.lang.Object
org.hibernate.testing.orm.domain.gambit.Shirt.ShirtStringToIntegerConverter
- All Implemented Interfaces:
AttributeConverter<String,
Integer>
- Enclosing class:
- Shirt
public static class Shirt.ShirtStringToIntegerConverter
extends Object
implements AttributeConverter<String,Integer>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn
(String attribute) convertToEntityAttribute
(Integer dbData)
-
Constructor Details
-
ShirtStringToIntegerConverter
public ShirtStringToIntegerConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumn
in interfaceAttributeConverter<String,
Integer>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interfaceAttributeConverter<String,
Integer>
-