类 AbstractSingleColumnStandardBasicType<T>
- java.lang.Object
-
- org.hibernate.type.AbstractStandardBasicType<T>
-
- org.hibernate.type.AbstractSingleColumnStandardBasicType<T>
-
- 所有已实现的接口:
Serializable,BasicType,ProcedureParameterExtractionAware<T>,ProcedureParameterNamedBinder,SingleColumnType<T>,StringRepresentableType<T>,Type
- 直接已知子类:
AdaptedImmutableType,AttributeConverterTypeAdapter,BigDecimalType,BigIntegerType,BinaryType,BlobType,BooleanType,ByteType,CalendarDateType,CalendarTimeType,CalendarType,CharacterArrayClobType,CharacterArrayNClobType,CharacterArrayType,CharacterNCharType,CharacterType,CharArrayType,ClassType,ClobType,CurrencyType,DateType,DoubleType,DurationType,FloatType,ImageType,InstantType,IntegerType,LocalDateTimeType,LocalDateType,LocaleType,LocalTimeType,LongType,MaterializedBlobType,MaterializedClobType,MaterializedNClobType,NClobType,NTextType,NumericBooleanType,OffsetDateTimeType,OffsetTimeType,PostgresUUIDType,PrimitiveCharacterArrayClobType,PrimitiveCharacterArrayNClobType,RowVersionType,SerializableToBlobType,SerializableType,ShortType,StandardBasicTypeTemplate,StringNVarcharType,StringType,TextType,TimestampType,TimeType,TimeZoneType,TrueFalseType,UrlType,UUIDBinaryType,UUIDCharType,WrappedMaterializedBlobType,WrapperBinaryType,YesNoType,ZonedDateTimeType
public abstract class AbstractSingleColumnStandardBasicType<T> extends AbstractStandardBasicType<T> implements SingleColumnType<T>
TODO : javadoc- 作者:
- Steve Ebersole
- 另请参阅:
- 序列化表格
-
-
构造器概要
构造器 构造器 说明 AbstractSingleColumnStandardBasicType(SqlTypeDescriptor sqlTypeDescriptor, JavaTypeDescriptor<T> javaTypeDescriptor)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 voidnullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session)Bind a value represented by an instance of themapped classto the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter.intsqlType()-
从类继承的方法 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, getRegistrationKeys, 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
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 org.hibernate.type.SingleColumnType
fromStringValue, get, nullSafeGet, set, toString
-
从接口继承的方法 org.hibernate.type.Type
assemble, beforeAssemble, compare, deepCopy, defaultSizes, dictatedSizes, disassemble, getColumnSpan, getHashCode, getHashCode, getName, getReturnedClass, getSemiResolvedType, hydrate, isAnyType, isAssociationType, isCollectionType, isComponentType, isDirty, isDirty, isEntityType, isEqual, isEqual, isModified, isMutable, isSame, nullSafeGet, nullSafeGet, nullSafeSet, replace, replace, resolve, resolve, semiResolve, sqlTypes, toColumnNullness, toLoggableString
-
-
-
-
构造器详细资料
-
AbstractSingleColumnStandardBasicType
public AbstractSingleColumnStandardBasicType(SqlTypeDescriptor sqlTypeDescriptor, JavaTypeDescriptor<T> javaTypeDescriptor)
-
-
方法详细资料
-
sqlType
public final int sqlType()
- 指定者:
sqlType在接口中SingleColumnType<T>
-
nullSafeSet
public final void nullSafeSet(PreparedStatement st, Object value, int index, boolean[] settable, SharedSessionContractImplementor session) throws HibernateException, SQLException
从接口复制的说明:TypeBind a value represented by an instance of themapped classto the JDBC prepared statement, ignoring some columns as dictated by the 'settable' parameter. Implementors should handle the possibility of null values. A multi-column type should bind parameters starting from index.- 指定者:
nullSafeSet在接口中Type- 参数:
st- The JDBC prepared statement to which to bindvalue- the object to writeindex- starting parameter bind indexsettable- an array indicating which columns to bind/ignoresession- The originating session- 抛出:
HibernateException- An error from HibernateSQLException- An error from the JDBC driver
-
-