- All Implemented Interfaces:
jakarta.persistence.AttributeConverter<URI,String>
public class UriConverter
extends Object
implements jakarta.persistence.AttributeConverter<URI,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
-
UriConverter
public UriConverter()
-
Method Details
-
convertToDatabaseColumn
public String convertToDatabaseColumn(URI attribute)
- Specified by:
convertToDatabaseColumn
in interface jakarta.persistence.AttributeConverter<URI,String>
-
convertToEntityAttribute
public URI convertToEntityAttribute(String dbData)
- Specified by:
convertToEntityAttribute
in interface jakarta.persistence.AttributeConverter<URI,String>