com.vladmihalcea.hibernate.type.binary
Class MySQLBinaryType

java.lang.Object
  extended by org.hibernate.type.AbstractStandardBasicType<T>
      extended by org.hibernate.type.AbstractSingleColumnStandardBasicType<byte[]>
          extended by org.hibernate.type.BinaryType
              extended by com.vladmihalcea.hibernate.type.binary.MySQLBinaryType
All Implemented Interfaces:
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 Java byte[] object to a BINARY MySQL column type.

Since:
2.10.1
Author:
Vlad Mihalcea
See Also:
Serialized Form

Field Summary
static MySQLBinaryType INSTANCE
           
 
Constructor Summary
MySQLBinaryType()
          Initialization constructor taking the default Configuration object.
MySQLBinaryType(Configuration configuration)
          Initialization constructor taking a custom Configuration 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.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, semiResolve, sqlTypes, toColumnNullness, toLoggableString
 
Methods inherited from interface org.hibernate.type.SingleColumnType
fromStringValue, get, nullSafeGet, set, toString
 

Field Detail

INSTANCE

public static final MySQLBinaryType INSTANCE
Constructor Detail

MySQLBinaryType

public MySQLBinaryType()
Initialization constructor taking the default Configuration object.


MySQLBinaryType

public MySQLBinaryType(Configuration configuration)
Initialization constructor taking a custom Configuration object.

Parameters:
configuration - custom Configuration object.


Copyright © 2021. All rights reserved.