Class ISBNConverter
java.lang.Object
org.hibernate.reactive.it.quarkus.qe.database.ISBNConverter
- All Implemented Interfaces:
AttributeConverter<Long,String>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn(Long number) Canonical ISBN format: 978-3-16-148410-0, can be prefixed with zeroes if there is less than 13 digits
-
Constructor Details
-
ISBNConverter
public ISBNConverter()
-
-
Method Details
-
convertToDatabaseColumn
Canonical ISBN format: 978-3-16-148410-0, can be prefixed with zeroes if there is less than 13 digits- Specified by:
convertToDatabaseColumnin interfaceAttributeConverter<Long,String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttributein interfaceAttributeConverter<Long,String>
-