- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<Long,String>
public class ISBNConverter
extends Object
implements jakarta.persistence.AttributeConverter<Long,String>
-
Constructor Summary
Constructors
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ISBNConverter
public ISBNConverter()
-
Method Details
-
convertToDatabaseColumn
public String convertToDatabaseColumn(Long number)
- Specified by:
convertToDatabaseColumn
in interface jakarta.persistence.AttributeConverter<Long,String>
-
convertToEntityAttribute
- Specified by:
convertToEntityAttribute
in interface jakarta.persistence.AttributeConverter<Long,String>