Class UriConverter

  • All Implemented Interfaces:
    jakarta.persistence.AttributeConverter<URI,​String>

    public class UriConverter
    extends Object
    implements jakarta.persistence.AttributeConverter<URI,​String>
    • Constructor Detail

      • UriConverter

        public UriConverter()
    • Method Detail

      • convertToDatabaseColumn

        public String convertToDatabaseColumn​(URI uri)
        Specified by:
        convertToDatabaseColumn in interface jakarta.persistence.AttributeConverter<URI,​String>
      • convertToEntityAttribute

        public URI convertToEntityAttribute​(String str)
        Specified by:
        convertToEntityAttribute in interface jakarta.persistence.AttributeConverter<URI,​String>