Package org.hibernate.testing.orm.domain
Class MonetaryAmountConverter
java.lang.Object
org.hibernate.testing.orm.domain.MonetaryAmountConverter
- All Implemented Interfaces:
AttributeConverter<javax.money.MonetaryAmount,Double>
public class MonetaryAmountConverter
extends Object
implements AttributeConverter<javax.money.MonetaryAmount,Double>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn(javax.money.MonetaryAmount attribute) javax.money.MonetaryAmountconvertToEntityAttribute(Double dbData)
-
Constructor Details
-
MonetaryAmountConverter
public MonetaryAmountConverter()
-
-
Method Details
-
convertToDatabaseColumn
- Specified by:
convertToDatabaseColumnin interfaceAttributeConverter<javax.money.MonetaryAmount,Double>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttributein interfaceAttributeConverter<javax.money.MonetaryAmount,Double>
-