Example usage for Java org.hibernate.usertype UserType fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | assemble(Serializable cached, Object owner) Reconstruct an object from the cacheable representation. |
Object | deepCopy(Object value) Return a deep copy of the persistent state, stopping at entities and at collections. |
Serializable | disassemble(Object value) Transform the object into its cacheable representation. |
boolean | equals(Object x, Object y) Compare two instances of the class mapped by this type for persistence "equality". |
int | hashCode(Object x) Get a hashcode for the instance, consistent with persistence "equality" |
boolean | isMutable() Are objects of this type mutable? |
Object | replace(Object original, Object target, Object owner) During merge, replace the existing (target) value in the entity we are merging to with a new (original) value from the detached entity we are merging. |
Class | returnedClass() The class returned by nullSafeGet(). |
int[] | sqlTypes() Return the SQL type codes for the columns mapped by this type. |