Uses of Interface
org.hibernate.type.Type
-
-
Uses of Type in org.hibernate
Methods in org.hibernate that return Type Modifier and Type Method Description Type
TypeHelper. any(Type metaType, Type identifierType)
Retrieve the type representing an ANY mapping.Type
TypeHelper. custom(java.lang.Class userTypeClass)
Retrieve the type for the given user-type class (UserType
orCompositeUserType
).Type
TypeHelper. custom(java.lang.Class userTypeClass, java.util.Properties properties)
Retrieve the type for the given user-type class (UserType
orCompositeUserType
).Type
Query. determineProperBooleanType(int position, java.lang.Object value, Type defaultType)
Deprecated.added only to allow default method definition for deprecated methods here.Type
Query. determineProperBooleanType(java.lang.String name, java.lang.Object value, Type defaultType)
Deprecated.added only to allow default method definition for deprecated methods here.Type
TypeHelper. entity(java.lang.Class entityClass)
Retrieve a type representing the given entity.Type
TypeHelper. entity(java.lang.String entityName)
Retrieve a type representing the given entity.Type[]
BasicQueryContract. getReturnTypes()
Deprecated.(since 5.2) with no replacement; to be removed in 6.0Type[]
Query. getReturnTypes()
Deprecated.(since 5.2) with no replacement; to be removed in 6.0Type
CustomEntityDirtinessStrategy.AttributeInformation. getType()
Get the mapping type of this attribute.Type
ScrollableResults. getType(int i)
Get the type of the ith column of results.Type
TypeHelper. heuristicType(java.lang.String name)
Uses heuristics to deduce the properType
given a string naming the type or Java class.Methods in org.hibernate with parameters of type Type Modifier and Type Method Description SQLQuery<T>
SQLQuery. addScalar(java.lang.String columnAlias, Type type)
Deprecated.Declare a scalar query result.Type
TypeHelper. any(Type metaType, Type identifierType)
Retrieve the type representing an ANY mapping.Type
Query. determineProperBooleanType(int position, java.lang.Object value, Type defaultType)
Deprecated.added only to allow default method definition for deprecated methods here.Type
Query. determineProperBooleanType(java.lang.String name, java.lang.Object value, Type defaultType)
Deprecated.added only to allow default method definition for deprecated methods here.int[]
EmptyInterceptor. findDirty(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.String[] propertyNames, Type[] types)
int[]
Interceptor. findDirty(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.String[] propertyNames, Type[] types)
Called from flush().void
EmptyInterceptor. onDelete(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, Type[] types)
void
Interceptor. onDelete(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, Type[] types)
Called before an object is deleted.boolean
EmptyInterceptor. onFlushDirty(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.String[] propertyNames, Type[] types)
boolean
Interceptor. onFlushDirty(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] currentState, java.lang.Object[] previousState, java.lang.String[] propertyNames, Type[] types)
Called when an object is detected to be dirty, during a flush.boolean
EmptyInterceptor. onLoad(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, Type[] types)
boolean
Interceptor. onLoad(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, Type[] types)
Called just before an object is initialized.boolean
EmptyInterceptor. onSave(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, Type[] types)
boolean
Interceptor. onSave(java.lang.Object entity, java.io.Serializable id, java.lang.Object[] state, java.lang.String[] propertyNames, Type[] types)
Called before an object is saved.Query<R>
Query. setParameter(int position, java.lang.Object val, Type type)
Deprecated.Bind a value to a JDBC-style query parameter.Query<R>
Query. setParameter(java.lang.String name, java.lang.Object val, Type type)
Deprecated.Bind a named query parameter using the supplied Type<P> Query<R>
Query. setParameter(QueryParameter<P> parameter, P val, Type type)
Deprecated.Bind a query parameter using the supplied TypeNativeQuery<T>
SQLQuery. setParameter(int position, java.lang.Object val, Type type)
Deprecated.NativeQuery<T>
SQLQuery. setParameter(java.lang.String name, java.lang.Object val, Type type)
Deprecated.<P> NativeQuery<T>
SQLQuery. setParameter(QueryParameter<P> parameter, P val, Type type)
Deprecated.Query<R>
Query. setParameterList(int position, java.lang.Object[] values, Type type)
Deprecated.Query<R>
Query. setParameterList(int position, java.util.Collection values, Type type)
Deprecated.Query<R>
Query. setParameterList(java.lang.String name, java.lang.Object[] values, Type type)
Deprecated.Bind multiple values to a named query parameter.Query<R>
Query. setParameterList(java.lang.String name, java.util.Collection values, Type type)
Deprecated.Bind multiple values to a named query parameter.NativeQuery<T>
SQLQuery. setParameterList(java.lang.String name, java.lang.Object[] values, Type type)
Deprecated.NativeQuery<T>
SQLQuery. setParameterList(java.lang.String name, java.util.Collection values, Type type)
Deprecated.default Query<R>
Query. setParameters(java.lang.Object[] values, Type[] types)
Deprecated.(since 5.2) Bind values individually -
Uses of Type in org.hibernate.boot.spi
Methods in org.hibernate.boot.spi that return Type Modifier and Type Method Description Type
AbstractDelegatingMetadata. getIdentifierType(java.lang.String className)
Type
AbstractDelegatingMetadata. getReferencedPropertyType(java.lang.String className, java.lang.String propertyName)
-
Uses of Type in org.hibernate.bytecode.enhance.spi.interceptor
Methods in org.hibernate.bytecode.enhance.spi.interceptor that return Type Modifier and Type Method Description Type
LazyAttributeDescriptor. getType()
Access to the attribute's type -
Uses of Type in org.hibernate.cache.spi
Methods in org.hibernate.cache.spi with parameters of type Type Modifier and Type Method Description java.util.List
QueryCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set<java.io.Serializable> spaces, SharedSessionContractImplementor session)
Deprecated.Get results from the cache.java.util.List
QueryResultsCache. get(QueryKey key, java.lang.String[] spaces, Type[] returnTypes, SharedSessionContractImplementor session)
Get results from the cache.java.util.List
QueryResultsCache. get(QueryKey key, java.util.Set<java.io.Serializable> spaces, Type[] returnTypes, SharedSessionContractImplementor session)
Get results from the cache.default java.util.List
QueryResultsCache. get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, java.util.Set<java.io.Serializable> spaces, SharedSessionContractImplementor session)
boolean
QueryCache. put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)
Deprecated.Put a result into the query cache.boolean
QueryResultsCache. put(QueryKey key, java.util.List result, Type[] returnTypes, SharedSessionContractImplementor session)
Put a result into the query cache.default boolean
QueryResultsCache. put(QueryKey key, Type[] returnTypes, java.util.List result, boolean isNaturalKeyLookup, SharedSessionContractImplementor session)
-
Uses of Type in org.hibernate.collection.spi
Methods in org.hibernate.collection.spi with parameters of type Type Modifier and Type Method Description boolean
PersistentCollection. needsInserting(java.lang.Object entry, int i, Type elemType)
Do we need to insert this element?boolean
PersistentCollection. needsUpdating(java.lang.Object entry, int i, Type elemType)
Do we need to update this element? -
Uses of Type in org.hibernate.criterion
Methods in org.hibernate.criterion that return Type Modifier and Type Method Description default Type
CriteriaQuery. getForeignKeyType(Criteria criteria, java.lang.String associationPropertyName)
Type
CriteriaQuery. getIdentifierType(Criteria criteria)
Get the identifier type of this entityType
CriteriaQuery. getType(Criteria criteria, java.lang.String propertyPath)
Get the type of a property path.Type[]
AggregateProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
AliasedProjection. getTypes(java.lang.String alias, Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
AliasedProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
Distinct. getTypes(java.lang.String alias, Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
Distinct. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
ForeingKeyProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
IdentifierProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
Projection. getTypes(java.lang.String alias, Criteria criteria, CriteriaQuery criteriaQuery)
Get the return types for a particular user-visible alias.Type[]
Projection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Types returned by the rendered SQLfragment
.Type[]
ProjectionList. getTypes(java.lang.String alias, Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
ProjectionList. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
PropertyProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
RowCountProjection. getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
SimpleProjection. getTypes(java.lang.String alias, Criteria criteria, CriteriaQuery criteriaQuery)
Type[]
SQLProjection. getTypes(java.lang.String alias, Criteria crit, CriteriaQuery criteriaQuery)
Type[]
SQLProjection. getTypes(Criteria crit, CriteriaQuery criteriaQuery)
protected Type[]
SubqueryExpression. getTypes()
Type
CriteriaQuery. getTypeUsingProjection(Criteria criteria, java.lang.String propertyPath)
Get the type of a property path.Methods in org.hibernate.criterion with parameters of type Type Modifier and Type Method Description void
ParameterInfoCollector. addNamedParameter(java.lang.String name, Type type)
void
ParameterInfoCollector. addPositionalParameter(int label, Type type)
protected void
Example. addPropertyTypedValue(java.lang.Object value, Type type, java.util.List<TypedValue> list)
boolean
Example.AllPropertySelector. include(java.lang.Object object, java.lang.String propertyName, Type type)
boolean
Example.NotNullOrZeroPropertySelector. include(java.lang.Object object, java.lang.String propertyName, Type type)
boolean
Example.NotNullPropertySelector. include(java.lang.Object object, java.lang.String propertyName, Type type)
boolean
Example.PropertySelector. include(java.lang.Object propertyValue, java.lang.String propertyName, Type type)
Determine whether the given property should be used in the criteria.static Criterion
Expression. sql(java.lang.String sql, java.lang.Object[] values, Type[] types)
Deprecated.static Criterion
Expression. sql(java.lang.String sql, java.lang.Object value, Type type)
Deprecated.static Projection
Projections. sqlGroupProjection(java.lang.String sql, java.lang.String groupBy, java.lang.String[] columnAliases, Type[] types)
A grouping SQL projection, specifying both select clause and group by clause fragmentsstatic Projection
Projections. sqlProjection(java.lang.String sql, java.lang.String[] columnAliases, Type[] types)
A SQL projection, a typed select clause fragmentstatic Criterion
Restrictions. sqlRestriction(java.lang.String sql, java.lang.Object[] values, Type[] types)
Create a restriction expressed in SQL with JDBC parameters.static Criterion
Restrictions. sqlRestriction(java.lang.String sql, java.lang.Object value, Type type)
Create a restriction expressed in SQL with one JDBC parameter.Constructors in org.hibernate.criterion with parameters of type Type Constructor Description SQLCriterion(java.lang.String sql, java.lang.Object[] values, Type[] types)
SQLCriterion(java.lang.String sql, java.lang.Object value, Type type)
SQLProjection(java.lang.String sql, java.lang.String[] columnAliases, Type[] types)
SQLProjection(java.lang.String sql, java.lang.String groupBy, java.lang.String[] columnAliases, Type[] types)
-
Uses of Type in org.hibernate.dialect.function
Methods in org.hibernate.dialect.function that return Type Modifier and Type Method Description Type
AbstractAnsiTrimEmulationFunction. getReturnType(Type argumentType, Mapping mapping)
Type
CastFunction. getReturnType(Type columnType, Mapping mapping)
Type
CharIndexFunction. getReturnType(Type columnType, Mapping mapping)
Type
ConvertFunction. getReturnType(Type firstArgumentType, Mapping mapping)
Type
DerbyConcatFunction. getReturnType(Type argumentType, Mapping mapping)
The return type of the function.Type
NoArgSQLFunction. getReturnType(Type argumentType, Mapping mapping)
Type
NvlFunction. getReturnType(Type argumentType, Mapping mapping)
Type
PositionSubstringFunction. getReturnType(Type firstArgumentType, Mapping mapping)
Type
SQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)
The return type of the function.Type
SQLFunctionTemplate. getReturnType(Type argumentType, Mapping mapping)
Type
StandardAnsiSqlAggregationFunctions.SumFunction. getReturnType(Type firstArgumentType, Mapping mapping)
Type
StandardSQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)
Type
TrimFunctionTemplate. getReturnType(Type firstArgument, Mapping mapping)
Type
VarArgsSQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)
Type
StandardSQLFunction. getType()
Function static return type accessor.Methods in org.hibernate.dialect.function with parameters of type Type Modifier and Type Method Description protected int
StandardAnsiSqlAggregationFunctions.AvgFunction. determineJdbcTypeCode(Type firstArgumentType, SessionFactoryImplementor factory)
protected int
StandardAnsiSqlAggregationFunctions.SumFunction. determineJdbcTypeCode(Type type, Mapping mapping)
Type
AbstractAnsiTrimEmulationFunction. getReturnType(Type argumentType, Mapping mapping)
Type
CastFunction. getReturnType(Type columnType, Mapping mapping)
Type
CharIndexFunction. getReturnType(Type columnType, Mapping mapping)
Type
ConvertFunction. getReturnType(Type firstArgumentType, Mapping mapping)
Type
DerbyConcatFunction. getReturnType(Type argumentType, Mapping mapping)
The return type of the function.Type
NoArgSQLFunction. getReturnType(Type argumentType, Mapping mapping)
Type
NvlFunction. getReturnType(Type argumentType, Mapping mapping)
Type
PositionSubstringFunction. getReturnType(Type firstArgumentType, Mapping mapping)
Type
SQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)
The return type of the function.Type
SQLFunctionTemplate. getReturnType(Type argumentType, Mapping mapping)
Type
StandardAnsiSqlAggregationFunctions.SumFunction. getReturnType(Type firstArgumentType, Mapping mapping)
Type
StandardSQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)
Type
TrimFunctionTemplate. getReturnType(Type firstArgument, Mapping mapping)
Type
VarArgsSQLFunction. getReturnType(Type firstArgumentType, Mapping mapping)
java.lang.String
AbstractAnsiTrimEmulationFunction. render(Type argumentType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
CastFunction. render(Type columnType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
CharIndexFunction. render(Type columnType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
ConditionalParenthesisFunction. render(Type firstArgumentType, java.util.List arguments, SessionFactoryImplementor sessionFactory)
java.lang.String
ConvertFunction. render(Type firstArgumentType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
DerbyConcatFunction. render(Type argumentType, java.util.List args, SessionFactoryImplementor factory)
Render the function call as SQL fragment.java.lang.String
NoArgSQLFunction. render(Type argumentType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
NvlFunction. render(Type argumentType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
PositionSubstringFunction. render(Type firstArgumentType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
SQLFunction. render(Type firstArgumentType, java.util.List arguments, SessionFactoryImplementor factory)
Render the function call as SQL fragment.java.lang.String
SQLFunctionTemplate. render(Type argumentType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
StandardAnsiSqlAggregationFunctions.AvgFunction. render(Type firstArgumentType, java.util.List arguments, SessionFactoryImplementor factory)
java.lang.String
StandardAnsiSqlAggregationFunctions.CountFunction. render(Type firstArgumentType, java.util.List arguments, SessionFactoryImplementor factory)
java.lang.String
StandardJDBCEscapeFunction. render(Type argumentType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
StandardSQLFunction. render(Type firstArgumentType, java.util.List arguments, SessionFactoryImplementor sessionFactory)
java.lang.String
StaticPrecisionFspTimestampFunction. render(Type argumentType, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
TrimFunctionTemplate. render(Type firstArgument, java.util.List args, SessionFactoryImplementor factory)
java.lang.String
VarArgsSQLFunction. render(Type firstArgumentType, java.util.List arguments, SessionFactoryImplementor factory)
Constructors in org.hibernate.dialect.function with parameters of type Type Constructor Description ConditionalParenthesisFunction(java.lang.String name, Type type)
Constructs a ConditionalParenthesisFunction with the given nameNoArgSQLFunction(java.lang.String name, Type returnType)
Constructs a NoArgSQLFunctionNoArgSQLFunction(java.lang.String name, Type returnType, boolean hasParenthesesIfNoArguments)
Constructs a NoArgSQLFunctionSQLFunctionTemplate(Type type, java.lang.String template)
Constructs a SQLFunctionTemplateSQLFunctionTemplate(Type type, java.lang.String template, boolean hasParenthesesIfNoArgs)
Constructs a SQLFunctionTemplateStandardJDBCEscapeFunction(java.lang.String name, Type typeValue)
Constructs a StandardJDBCEscapeFunctionStandardSQLFunction(java.lang.String name, Type registeredType)
Construct a standard SQL function definition with a static return type.VarArgsSQLFunction(Type registeredType, java.lang.String begin, java.lang.String sep, java.lang.String end)
Constructs a VarArgsSQLFunction instance with a 'static' return type. -
Uses of Type in org.hibernate.engine.query.spi
Methods in org.hibernate.engine.query.spi that return Type Modifier and Type Method Description Type
AbstractParameterDescriptor. getExpectedType()
Type
AbstractParameterDescriptor. getHibernateType()
Type[]
ReturnMetadata. getReturnTypes()
Methods in org.hibernate.engine.query.spi with parameters of type Type Modifier and Type Method Description void
AbstractParameterDescriptor. resetExpectedType(Type expectedType)
Constructors in org.hibernate.engine.query.spi with parameters of type Type Constructor Description AbstractParameterDescriptor(int[] sourceLocations, Type expectedType)
NamedParameterDescriptor(java.lang.String name, Type expectedType, int[] sourceLocations)
Constructs a NamedParameterDescriptorOrdinalParameterDescriptor(int label, int valuePosition, Type expectedType, int[] sourceLocations)
Constructs an ordinal parameter descriptor. -
Uses of Type in org.hibernate.engine.query.spi.sql
Methods in org.hibernate.engine.query.spi.sql that return Type Modifier and Type Method Description Type
NativeSQLQueryScalarReturn. getType()
Constructors in org.hibernate.engine.query.spi.sql with parameters of type Type Constructor Description NativeSQLQueryScalarReturn(java.lang.String alias, Type type)
-
Uses of Type in org.hibernate.engine.spi
Methods in org.hibernate.engine.spi that return Type Modifier and Type Method Description Type[]
QueryParameters. getFilteredPositionalParameterTypes()
Type
LoadQueryInfluencers. getFilterParameterType(java.lang.String filterParameterName)
Type
Mapping. getIdentifierType(java.lang.String className)
Type
SessionFactoryDelegatingImpl. getIdentifierType(java.lang.String className)
Type
FilterDefinition. getParameterType(java.lang.String parameterName)
Retrieve the type of the named parameter defined for this filter.Type[]
QueryParameters. getPositionalParameterTypes()
Type
Mapping. getReferencedPropertyType(java.lang.String className, java.lang.String propertyName)
Type
SessionFactoryDelegatingImpl. getReferencedPropertyType(java.lang.String className, java.lang.String propertyName)
Type[]
SessionFactoryDelegatingImpl. getReturnTypes(java.lang.String queryString)
default Type[]
SessionFactoryImplementor. getReturnTypes(java.lang.String queryString)
Deprecated.No replacement.Type
TypedValue. getType()
Type
SessionFactoryDelegatingImpl. resolveParameterBindType(java.lang.Class clazz)
Type
SessionFactoryDelegatingImpl. resolveParameterBindType(java.lang.Object bindValue)
Methods in org.hibernate.engine.spi that return types with arguments of type Type Modifier and Type Method Description java.util.Map<java.lang.String,Type>
FilterDefinition. getParameterTypes()
Methods in org.hibernate.engine.spi with parameters of type Type Modifier and Type Method Description void
QueryParameters. bindDynamicParameter(Type paramType, java.lang.Object paramValue)
void
CascadingAction. noCascade(EventSource session, java.lang.Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
Called (in the case ofCascadingAction.requiresNoCascadeChecking()
returning true) to validate that no cascade on the given property is considered a valid semantic.void
CascadingActions.BaseCascadingAction. noCascade(EventSource session, java.lang.Object parent, EntityPersister persister, Type propertyType, int propertyIndex)
void
QueryParameters. setPositionalParameterTypes(Type[] types)
Constructors in org.hibernate.engine.spi with parameters of type Type Constructor Description EntityUniqueKey(java.lang.String entityName, java.lang.String uniqueKeyName, java.lang.Object semiResolvedKey, Type keyType, EntityMode entityMode, SessionFactoryImplementor factory)
QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues)
QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, java.io.Serializable[] collectionKeys)
QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalObjectId)
QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, java.util.Map<java.lang.String,TypedValue> namedParameters, java.io.Serializable[] collectionKeys)
QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, java.util.Map<java.lang.String,TypedValue> namedParameters, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> queryHints, java.io.Serializable[] collectionKeys, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, ResultTransformer transformer)
QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, java.util.Map<java.lang.String,TypedValue> namedParameters, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> queryHints, java.io.Serializable[] collectionKeys, ResultTransformer transformer)
QueryParameters(Type[] positionalParameterTypes, java.lang.Object[] positionalParameterValues, LockOptions lockOptions, RowSelection rowSelection, boolean isReadOnlyInitialized, boolean readOnly, boolean cacheable, java.lang.String cacheRegion, java.lang.String comment, java.util.List<java.lang.String> queryHints, boolean isLookupByNaturalKey, ResultTransformer transformer)
QueryParameters(Type type, java.lang.Object value)
TypedValue(Type type, java.lang.Object value)
TypedValue(Type type, java.lang.Object value, EntityMode entityMode)
Deprecated.explicit entity mode support is deprecatedConstructor parameters in org.hibernate.engine.spi with type arguments of type Type Constructor Description FilterDefinition(java.lang.String name, java.lang.String defaultCondition, java.util.Map<java.lang.String,Type> parameterTypes)
Construct a new FilterDefinition instance. -
Uses of Type in org.hibernate.hql.spi
Methods in org.hibernate.hql.spi that return Type Modifier and Type Method Description Type
ParameterInformation. getExpectedType()
Type[]
QueryTranslator. getReturnTypes()
Returns an array of Types represented in the query result.Methods in org.hibernate.hql.spi with parameters of type Type Modifier and Type Method Description void
ParameterInformation. setExpectedType(Type expectedType)
-
Uses of Type in org.hibernate.hql.spi.id.inline
Methods in org.hibernate.hql.spi.id.inline that return Type Modifier and Type Method Description Type
IdsClauseBuilder. getIdentifierType()
Constructors in org.hibernate.hql.spi.id.inline with parameters of type Type Constructor Description IdsClauseBuilder(Dialect dialect, Type identifierType, TypeConfiguration typeConfiguration, java.lang.String[] columns, java.util.List<java.lang.Object[]> ids)
IdsClauseBuilder(Dialect dialect, Type identifierType, TypeResolver typeResolver, java.lang.String[] columns, java.util.List<java.lang.Object[]> ids)
Deprecated.InlineIdsInClauseBuilder(Dialect dialect, Type identifierType, TypeResolver typeResolver, java.lang.String[] columns, java.util.List<java.lang.Object[]> ids)
InlineIdsOrClauseBuilder(Dialect dialect, Type identifierType, TypeResolver typeResolver, java.lang.String[] columns, java.util.List<java.lang.Object[]> ids)
InlineIdsSubSelectValuesListBuilder(Dialect dialect, Type identifierType, TypeResolver typeResolver, java.lang.String[] columns, java.util.List<java.lang.Object[]> ids)
-
Uses of Type in org.hibernate.id
Methods in org.hibernate.id that return Type Modifier and Type Method Description protected Type
SequenceGenerator. getIdentifierType()
Deprecated.Type
ExportableColumn.ValueImpl. getType()
Methods in org.hibernate.id with parameters of type Type Modifier and Type Method Description void
Assigned. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
void
Configurable. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
Configure this instance, given the value of parameters specified by the user as <param> elements.void
ForeignGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
void
IncrementGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
void
MultipleHiLoPerTableGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
Deprecated.void
SelectGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
void
SequenceGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
Deprecated.void
SequenceHiLoGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
Deprecated.void
SequenceIdentityGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
Deprecated.void
UUIDGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
void
UUIDHexGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
static java.io.Serializable
IdentifierGeneratorHelper. get(java.sql.ResultSet rs, java.lang.String identifier, Type type, Dialect dialect)
Extract the value from the result set (which is assumed to already have been positioned to the apopriate row) and wrp it in the appropriate Java numeric type.static java.io.Serializable
IdentifierGeneratorHelper. getGeneratedIdentity(java.sql.ResultSet rs, java.lang.String identifier, Type type, Dialect dialect)
Get the generated identifier when using identity columns -
Uses of Type in org.hibernate.id.enhanced
Methods in org.hibernate.id.enhanced that return Type Modifier and Type Method Description Type
SequenceStyleGenerator. getIdentifierType()
Getter for property 'identifierType'.Type
TableGenerator. getIdentifierType()
Type mapping for the identifier.Methods in org.hibernate.id.enhanced with parameters of type Type Modifier and Type Method Description protected DatabaseStructure
SequenceStyleGenerator. buildDatabaseStructure(Type type, java.util.Properties params, JdbcEnvironment jdbcEnvironment, boolean forceTableUse, QualifiedName sequenceName, int initialValue, int incrementSize)
Build the database structure.protected DatabaseStructure
SequenceStyleGenerator. buildSequenceStructure(Type type, java.util.Properties params, JdbcEnvironment jdbcEnvironment, QualifiedName sequenceName, int initialValue, int incrementSize)
protected DatabaseStructure
SequenceStyleGenerator. buildTableStructure(Type type, java.util.Properties params, JdbcEnvironment jdbcEnvironment, QualifiedName sequenceName, int initialValue, int incrementSize)
void
SequenceStyleGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
void
TableGenerator. configure(Type type, java.util.Properties params, ServiceRegistry serviceRegistry)
-
Uses of Type in org.hibernate.id.factory
Methods in org.hibernate.id.factory with parameters of type Type Modifier and Type Method Description IdentifierGenerator
IdentifierGeneratorFactory. createIdentifierGenerator(java.lang.String strategy, Type type, java.util.Properties config)
Given a strategy, retrieve the appropriate identifier generator instance. -
Uses of Type in org.hibernate.jpa
Methods in org.hibernate.jpa that return Type Modifier and Type Method Description Type
TypedParameterValue. getType()
The specific Hibernate type to use to bind the value.Constructors in org.hibernate.jpa with parameters of type Type Constructor Description TypedParameterValue(Type type, java.lang.Object value)
-
Uses of Type in org.hibernate.jpa.spi
Methods in org.hibernate.jpa.spi that return Type Modifier and Type Method Description Type
TupleBuilderTransformer.HqlTupleElementImpl. getHibernateType()
Methods in org.hibernate.jpa.spi with parameters of type Type Modifier and Type Method Description void
HibernateEntityManagerImplementor.QueryOptions.ResultMetadataValidator. validate(Type[] returnTypes)
Constructors in org.hibernate.jpa.spi with parameters of type Type Constructor Description HqlTupleElementImpl(int position, java.lang.String alias, Type hibernateType)
-
Uses of Type in org.hibernate.loader
Methods in org.hibernate.loader with parameters of type Type Modifier and Type Method Description protected java.util.List
Loader. list(SharedSessionContractImplementor session, QueryParameters queryParameters, java.util.Set<java.io.Serializable> querySpaces, Type[] resultTypes)
Return the query results, using the query cache, called by subclasses that implement cacheable queriesvoid
Loader. loadCollection(SharedSessionContractImplementor session, java.io.Serializable id, Type type)
Called by subclasses that initialize collectionsvoid
Loader. loadCollectionBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type type)
Called by wrappers that batch initialize collectionsprotected void
Loader. loadCollectionSubselect(SharedSessionContractImplementor session, java.io.Serializable[] ids, java.lang.Object[] parameterValues, Type[] parameterTypes, java.util.Map<java.lang.String,TypedValue> namedParameters, Type type)
Called by subclasses that batch initialize collectionsprotected java.util.List
Loader. loadEntity(SharedSessionContractImplementor session, java.lang.Object key, java.lang.Object index, Type keyType, Type indexType, EntityPersister persister)
Called by subclasses that load entitiesprotected java.util.List
Loader. loadEntity(SharedSessionContractImplementor session, java.lang.Object id, Type identifierType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalIdentifier, EntityPersister persister, LockOptions lockOptions)
Called by subclasses that load entitiesjava.util.List
Loader. loadEntityBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type idType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, EntityPersister persister, LockOptions lockOptions)
Called by wrappers that batch load entitiesprotected void
Loader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result)
protected ScrollableResultsImplementor
Loader. scroll(QueryParameters queryParameters, Type[] returnTypes, org.hibernate.hql.internal.HolderInstantiator holderInstantiator, SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults -
Uses of Type in org.hibernate.loader.collection
Methods in org.hibernate.loader.collection that return Type Modifier and Type Method Description protected Type
CollectionLoader. getKeyType()
-
Uses of Type in org.hibernate.loader.collection.plan
Methods in org.hibernate.loader.collection.plan that return Type Modifier and Type Method Description protected Type
CollectionLoader. getKeyType()
-
Uses of Type in org.hibernate.loader.criteria
Methods in org.hibernate.loader.criteria that return Type Modifier and Type Method Description Type
CriteriaQueryTranslator. getForeignKeyType(Criteria criteria, java.lang.String associationPropertyName)
Type
CriteriaQueryTranslator. getIdentifierType(Criteria criteria)
Type[]
CriteriaQueryTranslator. getProjectedTypes()
Type[]
CriteriaJoinWalker. getResultTypes()
Type
CriteriaQueryTranslator. getType(Criteria subcriteria, java.lang.String propertyName)
Type
CriteriaQueryTranslator. getTypeUsingProjection(Criteria subcriteria, java.lang.String propertyName)
-
Uses of Type in org.hibernate.loader.custom
Methods in org.hibernate.loader.custom that return Type Modifier and Type Method Description Type
ScalarReturn. getType()
Methods in org.hibernate.loader.custom with parameters of type Type Modifier and Type Method Description protected void
CustomLoader. putResultInQueryCache(SharedSessionContractImplementor session, QueryParameters queryParameters, Type[] resultTypes, QueryResultsCache queryCache, QueryKey key, java.util.List result)
CustomLoader.resultTypes
can be overridden byCustomLoader.autoDiscoverTypes(ResultSet)
, *after*CustomLoader.list(SharedSessionContractImplementor, QueryParameters)
has already been called.Method parameters in org.hibernate.loader.custom with type arguments of type Type Modifier and Type Method Description void
ConstructorResultColumnProcessor. performDiscovery(org.hibernate.loader.custom.JdbcResultMetadata metadata, java.util.List<Type> types, java.util.List<java.lang.String> aliases)
void
NonScalarResultColumnProcessor. performDiscovery(org.hibernate.loader.custom.JdbcResultMetadata metadata, java.util.List<Type> types, java.util.List<java.lang.String> aliases)
void
ScalarResultColumnProcessor. performDiscovery(org.hibernate.loader.custom.JdbcResultMetadata metadata, java.util.List<Type> types, java.util.List<java.lang.String> aliases)
Constructors in org.hibernate.loader.custom with parameters of type Type Constructor Description ScalarResultColumnProcessor(java.lang.String alias, Type type)
ScalarReturn(Type type, java.lang.String columnAlias)
-
Uses of Type in org.hibernate.loader.entity
Fields in org.hibernate.loader.entity declared as Type Modifier and Type Field Description protected Type
AbstractEntityLoader. uniqueKeyType
Constructors in org.hibernate.loader.entity with parameters of type Type Constructor Description AbstractEntityLoader(OuterJoinLoadable persister, Type uniqueKeyType, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
EntityLoader(OuterJoinLoadable persister, java.lang.String[] uniqueKey, Type uniqueKeyType, int batchSize, LockMode lockMode, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
EntityLoader(OuterJoinLoadable persister, java.lang.String[] uniqueKey, Type uniqueKeyType, int batchSize, LockOptions lockOptions, SessionFactoryImplementor factory, LoadQueryInfluencers loadQueryInfluencers)
-
Uses of Type in org.hibernate.loader.entity.plan
Methods in org.hibernate.loader.entity.plan with parameters of type Type Modifier and Type Method Description EntityLoader
EntityLoader.Builder. byUniqueKey(java.lang.String[] keyColumnNames, Type keyType)
java.util.List
AbstractLoadPlanBasedEntityLoader. loadEntityBatch(SharedSessionContractImplementor session, java.io.Serializable[] ids, Type idType, java.lang.Object optionalObject, java.lang.String optionalEntityName, java.io.Serializable optionalId, EntityPersister persister, LockOptions lockOptions)
Called by wrappers that batch load entitiesConstructors in org.hibernate.loader.entity.plan with parameters of type Type Constructor Description AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister, SessionFactoryImplementor factory, java.lang.String[] uniqueKeyColumnNames, Type uniqueKeyType, QueryBuildingParameters buildingParameters)
AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister, SessionFactoryImplementor factory, org.hibernate.loader.plan.exec.internal.EntityLoadQueryDetails entityLoaderQueryDetailsTemplate, Type uniqueKeyType, QueryBuildingParameters buildingParameters)
-
Uses of Type in org.hibernate.loader.plan.spi
Methods in org.hibernate.loader.plan.spi that return Type Modifier and Type Method Description Type
Fetch. getFetchedType()
Get the Hibernate Type that describes the fetched attributeType
JoinDefinedByMetadata. getJoinedPropertyType()
Get the property type of the joined property.Type
ScalarReturn. getType()
Gets the type of the scalar return. -
Uses of Type in org.hibernate.mapping
Methods in org.hibernate.mapping that return Type Modifier and Type Method Description Type
Any. getType()
Type
Collection. getType()
Type
Component. getType()
Type
DependantValue. getType()
Type
ManyToOne. getType()
Type
OneToMany. getType()
Type
OneToOne. getType()
Type
Property. getType()
Type
SimpleValue. getType()
abstract Type
ToOne. getType()
Type
Value. getType()
-
Uses of Type in org.hibernate.metadata
Methods in org.hibernate.metadata that return Type Modifier and Type Method Description Type
CollectionMetadata. getElementType()
The collection element typeType
ClassMetadata. getIdentifierType()
Get the identifier Hibernate typeType
CollectionMetadata. getIndexType()
The collection index type (or null if the collection has no index)Type
CollectionMetadata. getKeyType()
The collection key typeType
ClassMetadata. getPropertyType(java.lang.String propertyName)
Get the type of a particular (named) propertyType[]
ClassMetadata. getPropertyTypes()
Get the Hibernate types of the class properties -
Uses of Type in org.hibernate.param
Methods in org.hibernate.param that return Type Modifier and Type Method Description Type
AbstractExplicitParameterSpecification. getExpectedType()
Type
CollectionFilterKeyParameterSpecification. getExpectedType()
Type
DynamicFilterParameterSpecification. getExpectedType()
Type
ParameterSpecification. getExpectedType()
Get the type which we are expeting for a bind into this parameter based on translated contextual information.Type
VersionTypeSeedParameterSpecification. getExpectedType()
Methods in org.hibernate.param with parameters of type Type Modifier and Type Method Description void
AbstractExplicitParameterSpecification. setExpectedType(Type expectedType)
void
CollectionFilterKeyParameterSpecification. setExpectedType(Type expectedType)
void
DynamicFilterParameterSpecification. setExpectedType(Type expectedType)
void
ParameterSpecification. setExpectedType(Type expectedType)
Injects the expected type.void
VersionTypeSeedParameterSpecification. setExpectedType(Type expectedType)
Constructors in org.hibernate.param with parameters of type Type Constructor Description CollectionFilterKeyParameterSpecification(java.lang.String collectionRole, Type keyType)
Creates a specialized collection-filter collection-key parameter spec.DynamicFilterParameterSpecification(java.lang.String filterName, java.lang.String parameterName, Type definedParameterType)
Constructs a parameter specification for a particular filter parameter. -
Uses of Type in org.hibernate.persister.collection
Fields in org.hibernate.persister.collection declared as Type Modifier and Type Field Description protected Type
AbstractCollectionPersister. elementType
Methods in org.hibernate.persister.collection that return Type Modifier and Type Method Description Type
AbstractCollectionPersister. getElementType()
Type
CollectionPersister. getElementType()
Get the "element" typeType
AbstractCollectionPersister. getIdentifierType()
Type
CollectionPersister. getIdentifierType()
Get the type of the surrogate keyType
AbstractCollectionPersister. getIndexType()
Type
CollectionPersister. getIndexType()
Get the "index" type for a list or map (optional operation)Type
AbstractCollectionPersister. getKeyType()
Type
CollectionPersister. getKeyType()
Get the "key" type (the type of the foreign key)Type
AbstractCollectionPersister. getType()
Type
CollectionPropertyMapping. getType()
Type
CompositeElementPropertyMapping. getType()
Type
ElementPropertyMapping. getType()
Type
AbstractCollectionPersister. toType(java.lang.String propertyName)
Type
CollectionPropertyMapping. toType(java.lang.String propertyName)
Type
ElementPropertyMapping. toType(java.lang.String propertyName)
Constructors in org.hibernate.persister.collection with parameters of type Type Constructor Description ElementPropertyMapping(java.lang.String[] elementColumns, Type type)
-
Uses of Type in org.hibernate.persister.entity
Classes in org.hibernate.persister.entity that implement Type Modifier and Type Class Description class
DiscriminatorType
TODO : javadocMethods in org.hibernate.persister.entity that return Type Modifier and Type Method Description Type
JoinedSubclassEntityPersister. getDiscriminatorType()
Type
Loadable. getDiscriminatorType()
Get the discriminator typeType
SingleTableEntityPersister. getDiscriminatorType()
Type
UnionSubclassEntityPersister. getDiscriminatorType()
Type
AbstractEntityPersister. getIdentifierType()
Type
EntityPersister. getIdentifierType()
Get the identifier typeType
AbstractEntityPersister. getPropertyType(java.lang.String propertyName)
Get the type of a particular property by name.Type
EntityPersister. getPropertyType(java.lang.String propertyName)
Get the type of a particular property by name.Type[]
AbstractEntityPersister. getPropertyTypes()
Type[]
EntityPersister. getPropertyTypes()
Get the Hibernate types of the class propertiesType
DiscriminatorMetadata. getResolutionType()
Get the type used to resolve the actual discriminator value resulting fromDiscriminatorMetadata.getSqlFragment(java.lang.String)
back into aClass
reference.Type
AbstractEntityPersister. getSubclassPropertyType(int i)
Type
OuterJoinLoadable. getSubclassPropertyType(int i)
Get the type of the numbered property of the class or a subclass.protected Type[]
AbstractEntityPersister. getSubclassPropertyTypeClosure()
Type
AbstractEntityPersister. getType()
Type
BasicEntityPropertyMapping. getType()
Type
PropertyMapping. getType()
Get the type of the thing containing the propertiesType
SQLLoadable. getType()
Get the typeType
AbstractEntityPersister. toType(java.lang.String propertyName)
Given a component path expression, get the type of the propertyType
AbstractPropertyMapping. toType(java.lang.String propertyName)
Type
PropertyMapping. toType(java.lang.String propertyName)
Given a component path expression, get the type of the propertyMethods in org.hibernate.persister.entity with parameters of type Type Modifier and Type Method Description protected void
AbstractPropertyMapping. addPropertyPath(java.lang.String path, Type type, java.lang.String[] columns, java.lang.String[] columnReaders, java.lang.String[] columnReaderTemplates, java.lang.String[] formulaTemplates)
protected void
AbstractPropertyMapping. addPropertyPath(java.lang.String path, Type type, java.lang.String[] columns, java.lang.String[] columnReaders, java.lang.String[] columnReaderTemplates, java.lang.String[] formulaTemplates, Mapping factory)
protected void
AbstractPropertyMapping. initPropertyPaths(java.lang.String path, Type type, java.lang.String[] columns, java.lang.String[] columnReaders, java.lang.String[] columnReaderTemplates, java.lang.String[] formulaTemplates, Mapping factory)
Constructors in org.hibernate.persister.entity with parameters of type Type Constructor Description DiscriminatorType(Type underlyingType, Loadable persister)
-
Uses of Type in org.hibernate.persister.walking.spi
Methods in org.hibernate.persister.walking.spi that return Type Modifier and Type Method Description Type
NonEncapsulatedEntityIdentifierDefinition. getCompositeType()
Type
AnyMappingDefinition. getDiscriminatorType()
Access to the type of the value that makes up the discriminator portion of the AnyType.Type
AnyMappingDefinition. getIdentifierType()
Access to the type of the value that makes up the identifier portion of the AnyType.Type
AttributeDefinition. getType()
Type
CollectionElementDefinition. getType()
Returns the collection element type.Type
CollectionIndexDefinition. getType()
Returns the collection index type. -
Uses of Type in org.hibernate.pretty
Methods in org.hibernate.pretty with parameters of type Type Modifier and Type Method Description static java.lang.String
MessageHelper. infoString(EntityPersister persister, java.lang.Object id, Type identifierType, SessionFactoryImplementor factory)
Generate an info message string relating to a particular entity,. -
Uses of Type in org.hibernate.procedure
Methods in org.hibernate.procedure with parameters of type Type Modifier and Type Method Description void
ParameterRegistration. setHibernateType(Type type)
Set the Hibernate mapping type for this parameter. -
Uses of Type in org.hibernate.procedure.spi
Methods in org.hibernate.procedure.spi that return Type Modifier and Type Method Description Type
ParameterRegistrationImplementor. getHibernateType()
Access to the Hibernate type for this parameter registration -
Uses of Type in org.hibernate.query
Methods in org.hibernate.query that return Type Modifier and Type Method Description Type
QueryParameter. getHibernateType()
Get the Hibernate Type associated with this parameter.Methods in org.hibernate.query with parameters of type Type Modifier and Type Method Description NativeQuery<T>
NativeQuery. addScalar(java.lang.String columnAlias, Type type)
NativeQuery<T>
NativeQuery. setParameter(int position, java.lang.Object val, Type type)
NativeQuery<T>
NativeQuery. setParameter(java.lang.String name, java.lang.Object val, Type type)
<P> NativeQuery<T>
NativeQuery. setParameter(QueryParameter<P> parameter, P val, Type type)
Query<R>
Query. setParameter(int position, java.lang.Object val, Type type)
Query<R>
Query. setParameter(java.lang.String name, java.lang.Object val, Type type)
<P> Query<R>
Query. setParameter(QueryParameter<P> parameter, P val, Type type)
NativeQuery<T>
NativeQuery. setParameterList(java.lang.String name, java.lang.Object[] values, Type type)
NativeQuery<T>
NativeQuery. setParameterList(java.lang.String name, java.util.Collection values, Type type)
Query<R>
Query. setParameterList(java.lang.String name, java.lang.Object[] values, Type type)
Query<R>
Query. setParameterList(java.lang.String name, java.util.Collection values, Type type)
default Query<R>
Query. setParameters(java.lang.Object[] values, Type[] types)
Deprecated.(since 5.2) Bind values individually -
Uses of Type in org.hibernate.query.spi
Methods in org.hibernate.query.spi that return Type Modifier and Type Method Description Type[]
QueryParameterBindings. collectPositionalBindTypes()
Type
QueryParameterBinding. getBindType()
Get the Type currently associated with this binding.Type
QueryParameterListBinding. getBindType()
Get the Type currently associated with this binding.Type
QueryParameterBindingTypeResolver. resolveParameterBindType(java.lang.Class clazz)
Type
QueryParameterBindingTypeResolver. resolveParameterBindType(java.lang.Object bindValue)
Methods in org.hibernate.query.spi with parameters of type Type Modifier and Type Method Description NativeQueryImplementor<T>
NativeQueryImplementor. addScalar(java.lang.String columnAlias, Type type)
void
QueryParameterBinding. setBindValue(T value, Type clarifiedType)
Sets the parameter binding value using the explicit Type.void
QueryParameterListBinding. setBindValues(java.util.Collection<T> values, Type clarifiedType)
Sets the parameter binding values using the explicit Type in regards to the individual values.NativeQueryImplementor<T>
NativeQueryImplementor. setParameter(int position, java.lang.Object val, Type type)
NativeQueryImplementor<T>
NativeQueryImplementor. setParameter(java.lang.String name, java.lang.Object val, Type type)
<P> NativeQueryImplementor<T>
NativeQueryImplementor. setParameter(QueryParameter<P> parameter, P val, Type type)
NativeQueryImplementor<T>
NativeQueryImplementor. setParameterList(java.lang.String name, java.lang.Object[] values, Type type)
NativeQueryImplementor<T>
NativeQueryImplementor. setParameterList(java.lang.String name, java.util.Collection values, Type type)
<P> void
QueryParameterBindingValidator. validate(Type paramType, java.lang.Object bind)
<P> void
QueryParameterBindingValidator. validate(Type paramType, java.lang.Object bind, TemporalType temporalType)
-
Uses of Type in org.hibernate.transform
Methods in org.hibernate.transform that return Type Modifier and Type Method Description Type[]
CacheableResultTransformer. getCachedResultTypes(Type[] tupleResultTypes)
Methods in org.hibernate.transform with parameters of type Type Modifier and Type Method Description Type[]
CacheableResultTransformer. getCachedResultTypes(Type[] tupleResultTypes)
-
Uses of Type in org.hibernate.tuple
Methods in org.hibernate.tuple that return Type Modifier and Type Method Description Type
AbstractAttribute. getType()
Type
Attribute. getType()
Constructors in org.hibernate.tuple with parameters of type Type Constructor Description AbstractAttribute(java.lang.String attributeName, Type attributeType)
AbstractNonIdentifierAttribute(AttributeSource source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation)
IdentifierProperty(java.lang.String name, Type type, boolean embedded, IdentifierValue unsavedValue, IdentifierGenerator identifierGenerator)
Construct a non-virtual identifier property.IdentifierProperty(Type type, boolean embedded, boolean hasIdentifierMapper, IdentifierValue unsavedValue, IdentifierGenerator identifierGenerator)
Construct a virtual IdentifierProperty.StandardProperty(java.lang.String name, Type type, boolean lazy, boolean insertable, boolean updateable, ValueGeneration valueGenerationStrategy, boolean nullable, boolean checkable, boolean versionable, CascadeStyle cascadeStyle, FetchMode fetchMode)
Deprecated.Constructs NonIdentifierProperty instances. -
Uses of Type in org.hibernate.tuple.component
Constructors in org.hibernate.tuple.component with parameters of type Type Constructor Description CompositeBasedBasicAttribute(AttributeSource source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation baselineInfo)
-
Uses of Type in org.hibernate.tuple.entity
Methods in org.hibernate.tuple.entity that return Type Modifier and Type Method Description Type
AbstractEntityTuplizer. getIdentifierMapperType()
Type[]
EntityMetamodel. getPropertyTypes()
Constructors in org.hibernate.tuple.entity with parameters of type Type Constructor Description AbstractEntityBasedAttribute(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation)
EntityBasedBasicAttribute(EntityPersister source, SessionFactoryImplementor factory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation baselineInfo)
VersionProperty(EntityPersister source, SessionFactoryImplementor sessionFactory, int attributeNumber, java.lang.String attributeName, Type attributeType, BaselineAttributeInformation attributeInformation, VersionValue unsavedValue)
Constructs VersionProperty instances. -
Uses of Type in org.hibernate.type
Subinterfaces of Type in org.hibernate.type Modifier and Type Interface Description interface
AssociationType
A type that represents some kind of association between entities.interface
BasicType
Marker interface for basic types.interface
CompositeType
Contract for value types to hold collections and have cascades, etc.interface
DiscriminatorType<T>
Additional contract for aType
may be used for a discriminator.interface
IdentifierType<T>
Additional contract for aType
may be used for a discriminator.interface
SingleColumnType<T>
Provide convenient methods for binding and extracting values for use withBasicType
.interface
VersionType<T>
Additional contract for types which may be used to version (and optimistic lock) data.Classes in org.hibernate.type that implement Type Modifier and Type Class Description class
AbstractSingleColumnStandardBasicType<T>
TODO : javadocclass
AbstractStandardBasicType<T>
Convenience base class forBasicType
implementationsclass
AbstractType
Abstract superclass of the built in Type hierarchy.class
AdaptedImmutableType<T>
Optimize a mutable type, if the user promises not to mutable the instances.class
AnyType
Handles "any" mappingsclass
ArrayType
A type for persistent arrays.class
BagType
class
BigDecimalType
A type that maps between aNUMERIC
andBigDecimal
.class
BigIntegerType
A type that maps between aNUMERIC
andBigInteger
.class
BinaryType
A type that maps between aVARBINARY
andbyte[]
Implementation of theVersionType
interface should be considered deprecated.class
BlobType
A type that maps betweenBLOB
andBlob
class
BooleanType
A type that maps betweenBOOLEAN
andBoolean
class
ByteType
A type that maps betweenTINYINT
andByte
class
CalendarDateType
A type mappingDATE
andCalendar
class
CalendarTimeType
A type mappingTIME
andCalendar
.class
CalendarType
A type that maps betweenTIMESTAMP
andCalendar
class
CharacterArrayClobType
A type that maps betweenCLOB
andCharacter[]
class
CharacterArrayNClobType
A type that maps betweenNCLOB
andCharacter[]
class
CharacterArrayType
A type that maps betweenVARCHAR
andCharacter[]
class
CharacterNCharType
A type that maps betweenNCHAR(1)
andCharacter
class
CharacterType
A type that maps betweenCHAR(1)
andCharacter
class
CharArrayType
A type that maps betweenVARCHAR
andchar[]
class
ClassType
A type that maps betweenVARCHAR
andClass
class
ClobType
A type that maps betweenCLOB
andClob
class
CollectionType
A type that handles Hibernate PersistentCollections (including arrays).class
ComponentType
Handles "component" mappingsclass
CompositeCustomType
AdaptsCompositeUserType
to theType
interfaceclass
CurrencyType
A type that maps betweenVARCHAR
andCurrency
class
CustomCollectionType
A custom type for mapping user-written classes that implement PersistentCollectionclass
CustomType
class
DateType
A type that maps betweenDATE
andDate
class
DbTimestampType
dbtimestamp: An extension ofTimestampType
which maps to the database's current timestamp, rather than the jvm's current timestamp.class
DoubleType
A type that maps betweenDOUBLE
andDouble
class
DurationType
class
EmbeddedComponentType
class
EntityType
Base for types which map associations to persistent entities.class
FloatType
A type that maps betweenFLOAT
andFloat
class
IdentifierBagType
class
ImageType
A type that maps betweenLONGVARBINARY
andbyte[]
class
InstantType
A type that maps betweenTIMESTAMP
andLocalDateTime
.class
IntegerType
A type that maps betweenINTEGER
and @link Integer}class
ListType
class
LocalDateTimeType
A type that maps betweenTIMESTAMP
andLocalDateTime
.class
LocalDateType
class
LocaleType
A type that maps betweenVARCHAR
and @link Locale}class
LocalTimeType
A type that maps betweenTIMESTAMP
andLocalDateTime
.class
LongType
A type that maps betweenBIGINT
andLong
class
ManyToOneType
A many-to-one association to an entity.class
MapType
class
MaterializedBlobType
A type that maps betweenBLOB
andbyte[]
class
MaterializedClobType
A type that maps betweenCLOB
andString
class
MaterializedNClobType
A type that maps betweenCLOB
andString
class
MetaType
class
NClobType
A type that maps betweenNCLOB
andNClob
class
NTextType
A type that maps betweenLONGNVARCHAR
andString
class
NumericBooleanType
A type that maps betweenINTEGER
andBoolean
(using 1 and 0)class
ObjectType
Specific adaptation of the "any" type to the old deprecated "object" typeclass
OffsetDateTimeType
class
OffsetTimeType
class
OneToOneType
A one-to-one association to an entityclass
OrderedMapType
A specialization of the map type, with (resultset-based) ordering.class
OrderedSetType
A specialization of the set type, with (resultset-based) ordering.class
PostgresUUIDType
Specialized type mapping forUUID
and the Postgres UUID data type (which is mapped as OTHER in its JDBC driver).class
PrimitiveCharacterArrayClobType
Map a char[] to a Clobclass
PrimitiveCharacterArrayNClobType
Map a char[] to a NClobclass
RowVersionType
A type that maps between aVARBINARY
andbyte[]
specifically for entity versions/timestamps.class
SerializableToBlobType<T extends java.io.Serializable>
class
SerializableType<T extends java.io.Serializable>
A type that maps between aVARBINARY
andSerializable
classes.class
SetType
class
ShortType
A type that maps betweenSMALLINT
andShort
class
SortedMapType
class
SortedSetType
class
SpecialOneToOneType
A one-to-one association that maps to specific formula(s) instead of the primary key column of the owning entity.class
StandardBasicTypeTemplate<J>
A BasicType adapter targeting partial portability to 6.0's type system changes.class
StringNVarcharType
A type that maps betweenVARCHAR
andString
class
StringType
A type that maps betweenVARCHAR
andString
class
TextType
A type that maps betweenLONGVARCHAR
andString
class
TimestampType
A type that maps betweenTIMESTAMP
andTimestamp
class
TimeType
A type that maps betweenTIME
andTime
class
TimeZoneType
A type mappingVARCHAR
andTimeZone
class
TrueFalseType
A type that maps betweenCHAR(1)
andBoolean
(using 'T' and 'F')class
UrlType
A type that maps betweenVARCHAR
andURL
class
UUIDBinaryType
A type mappingTypes.BINARY
andUUID
class
UUIDCharType
A type mappingTypes.CHAR
(orTypes.VARCHAR
) andUUID
class
WrappedMaterializedBlobType
A type that maps JDBCBLOB
andByte[]
.class
WrapperBinaryType
A type mappingVARBINARY
andByte[]
class
YesNoType
A type that maps betweenCHAR(1)
andBoolean
(using 'Y' and 'N')class
ZonedDateTimeType
Methods in org.hibernate.type that return Type Modifier and Type Method Description Type
TypeFactory. any(Type metaType, Type identifierType)
Deprecated.Type
TypeFactory. byClass(java.lang.Class clazz, java.util.Properties parameters)
Deprecated.Type
AnyType. getDiscriminatorType()
Type
CollectionType. getElementType(SessionFactoryImplementor factory)
Get the Hibernate type of the collection elementsType
EntityType. getIdentifierOrUniqueKeyType(Mapping factory)
Determine the type of either (1) the identifier if we reference the associated entity's PK or (2) the unique key to which we refer (i.e.Type
AnyType. getIdentifierType()
Type
AbstractStandardBasicType. getSemiResolvedType(SessionFactoryImplementor factory)
Type
AbstractType. getSemiResolvedType(SessionFactoryImplementor factory)
Type
EntityType. getSemiResolvedType(SessionFactoryImplementor factory)
Type
Type. getSemiResolvedType(SessionFactoryImplementor factory)
As part of 2-phase loading, when we perform resolving what is the resolved type for this type? Generally speaking the type and its semi-resolved type will be the same.Type[]
AnyType. getSubtypes()
Type[]
ComponentType. getSubtypes()
Type[]
CompositeCustomType. getSubtypes()
Type[]
CompositeType. getSubtypes()
Get the types of the component propertiesType
TypeResolver. heuristicType(java.lang.String typeName)
Deprecated.Type
TypeResolver. heuristicType(java.lang.String typeName, java.util.Properties parameters)
Deprecated.Uses heuristics to deduce the properType
given a string naming the type or Java class.protected Type
EntityType. requireIdentifierOrUniqueKeyType(Mapping mapping)
Type
TypeFactory. type(java.lang.Class<Type> typeClass, java.util.Properties parameters)
Deprecated.Methods in org.hibernate.type with parameters of type Type Modifier and Type Method Description Type
TypeFactory. any(Type metaType, Type identifierType)
Deprecated.static java.lang.Object[]
TypeHelper. assemble(java.io.Serializable[] row, Type[] types, SharedSessionContractImplementor session, java.lang.Object owner)
Deprecated.Apply theassemble(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object)
operation across a series of values.static void
TypeHelper. beforeAssemble(java.io.Serializable[] row, Type[] types, SharedSessionContractImplementor session)
Deprecated.Apply thebeforeAssemble(java.io.Serializable, org.hibernate.engine.spi.SharedSessionContractImplementor)
operation across a series of values.static void
TypeHelper. deepCopy(java.lang.Object[] values, Type[] types, boolean[] copy, java.lang.Object[] target, SharedSessionContractImplementor session)
Deprecated.Deep copy a series of values from one array to another...static java.io.Serializable[]
TypeHelper. disassemble(java.lang.Object[] row, Type[] types, boolean[] nonCacheable, SharedSessionContractImplementor session, java.lang.Object owner)
Deprecated.Apply thedisassemble(java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object)
operation across a series of values.static java.lang.Object[]
TypeHelper. replace(java.lang.Object[] original, java.lang.Object[] target, Type[] types, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache)
Deprecated.Apply thereplace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map)
operation across a series of values.static java.lang.Object[]
TypeHelper. replace(java.lang.Object[] original, java.lang.Object[] target, Type[] types, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
Deprecated.Apply thereplace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map)
operation across a series of values.static java.lang.Object[]
TypeHelper. replaceAssociations(java.lang.Object[] original, java.lang.Object[] target, Type[] types, SharedSessionContractImplementor session, java.lang.Object owner, java.util.Map copyCache, ForeignKeyDirection foreignKeyDirection)
Deprecated.Apply thereplace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SharedSessionContractImplementor, java.lang.Object, java.util.Map)
operation across a series of values, as long as the correspondingType
is an association.Method parameters in org.hibernate.type with type arguments of type Type Modifier and Type Method Description Type
TypeFactory. type(java.lang.Class<Type> typeClass, java.util.Properties parameters)
Deprecated.Constructors in org.hibernate.type with parameters of type Type Constructor Description AnyType(TypeFactory.TypeScope scope, Type discriminatorType, Type identifierType)
AnyType(Type discriminatorType, Type identifierType)
Intended for use only from legacyObjectType
type definitionMetaType(java.util.Map<java.lang.Object,java.lang.String> discriminatorValuesToEntityNameMap, Type baseType)
-
Uses of Type in org.hibernate.type.descriptor.converter
Classes in org.hibernate.type.descriptor.converter that implement Type Modifier and Type Class Description class
AttributeConverterTypeAdapter<T>
Adapts the Hibernate Type contract to incorporate JPA AttributeConverter calls. -
Uses of Type in org.hibernate.usertype
Methods in org.hibernate.usertype that return Type Modifier and Type Method Description Type[]
CompositeUserType. getPropertyTypes()
Get the corresponding "property types".
-