Class MySQLBinaryType
- java.lang.Object
-
- org.hibernate.type.AbstractStandardBasicType<T>
-
- org.hibernate.type.AbstractSingleColumnStandardBasicType<byte[]>
-
- org.hibernate.type.BinaryType
-
- com.vladmihalcea.hibernate.type.binary.MySQLBinaryType
-
- All Implemented Interfaces:
java.io.Serializable
,org.hibernate.type.BasicType
,org.hibernate.type.ProcedureParameterExtractionAware<byte[]>
,org.hibernate.type.ProcedureParameterNamedBinder
,org.hibernate.type.SingleColumnType<byte[]>
,org.hibernate.type.StringRepresentableType<byte[]>
,org.hibernate.type.Type
,org.hibernate.type.VersionType<byte[]>
public class MySQLBinaryType extends org.hibernate.type.BinaryType
Maps a Javabyte
object to a BINARY MySQL column type.- Since:
- 2.10.1
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private Configuration
configuration
static MySQLBinaryType
INSTANCE
-
Constructor Summary
Constructors Constructor Description MySQLBinaryType()
Initialization constructor taking the defaultConfiguration
object.MySQLBinaryType(Configuration configuration)
Initialization constructor taking a customConfiguration
object.
-
Method Summary
-
Methods inherited from class org.hibernate.type.BinaryType
getComparator, getName, getRegistrationKeys, next, seed
-
Methods inherited from class org.hibernate.type.AbstractSingleColumnStandardBasicType
nullSafeSet, sqlType
-
Methods inherited from class org.hibernate.type.AbstractStandardBasicType
assemble, beforeAssemble, canDoExtraction, canDoSetting, compare, deepCopy, deepCopy, defaultSizes, dictatedSizes, disassemble, extract, extract, fromString, fromStringValue, get, getColumnSpan, getDefaultSize, getDictatedSize, getHashCode, getHashCode, getJavaTypeDescriptor, getMutabilityPlan, getReplacement, getReturnedClass, getSemiResolvedType, getSqlTypeDescriptor, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, isXMLElement, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, nullSafeSet, nullSafeSet, registerUnderJavaType, remapSqlTypeDescriptor, replace, replace, resolve, semiResolve, set, setJavaTypeDescriptor, setSqlTypeDescriptor, sqlTypes, toColumnNullness, toLoggableString, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.type.SingleColumnType
fromStringValue, get, nullSafeGet, set, toString
-
Methods inherited from interface org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, getColumnSpan, getHashCode, getHashCode, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeGet, nullSafeGet, nullSafeSet, nullSafeSet, replace, replace, resolve, resolve, semiResolve, sqlTypes, toColumnNullness, toLoggableString
-
-
-
-
Field Detail
-
INSTANCE
public static final MySQLBinaryType INSTANCE
-
configuration
private final Configuration configuration
-
-
Constructor Detail
-
MySQLBinaryType
public MySQLBinaryType()
Initialization constructor taking the defaultConfiguration
object.
-
MySQLBinaryType
public MySQLBinaryType(Configuration configuration)
Initialization constructor taking a customConfiguration
object.- Parameters:
configuration
- customConfiguration
object.
-
-