Class UlidTypeDescriptor

  • All Implemented Interfaces:
    Serializable, org.hibernate.type.descriptor.java.BasicJavaDescriptor<String>, org.hibernate.type.descriptor.java.JavaTypeDescriptor<String>

    public class UlidTypeDescriptor
    extends org.hibernate.type.descriptor.java.AbstractTypeDescriptor<String>
    Describe the type of the id field as represented in the java object. Also provide conversion functionality to achieve the format expected on the database side (i.e. string or binary).
    Author:
    Jeff Fischer
    See Also:
    Serialized Form
    • Constructor Detail

      • UlidTypeDescriptor

        public UlidTypeDescriptor()
    • Method Detail

      • unwrap

        public <X> X unwrap​(String value,
                            Class<X> type,
                            org.hibernate.type.descriptor.WrapperOptions options)
      • wrap

        public <X> String wrap​(X value,
                               org.hibernate.type.descriptor.WrapperOptions options)