Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.boot.internal | |
org.hibernate.boot.spi | |
org.hibernate.bytecode.enhance.spi.interceptor |
interceptor implementations
|
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
org.hibernate.cache.spi |
Defines the integration aspect of Hibernate's second-level
caching allowing "caching back ends" to be plugged in as
a caching provider.
|
org.hibernate.collection.internal |
Internal implementations and support for persistent collections
|
org.hibernate.collection.spi |
SPI definitions for persistent collections
|
org.hibernate.criterion |
A framework for defining restriction criteria and order criteria.
|
org.hibernate.dialect.function |
A framework for defining database-specific SQL functions
that are available via the dialect.
|
org.hibernate.engine.internal |
Support for many of the internal workings of Hibernate.
|
org.hibernate.engine.query.spi |
Defines support for query plans and stored metadata about queries
|
org.hibernate.engine.query.spi.sql | |
org.hibernate.engine.spi | |
org.hibernate.envers.configuration.internal.metadata.reader | |
org.hibernate.envers.enhanced | |
org.hibernate.envers.internal.entities | |
org.hibernate.event.internal |
This package defines a default set of event listeners that
implements the default behaviors of Hibernate.
|
org.hibernate.hql.internal | |
org.hibernate.hql.internal.ast |
An ANTLR-based parser for Hibernate Query Language.
|
org.hibernate.hql.internal.ast.tree | |
org.hibernate.hql.internal.ast.util | |
org.hibernate.hql.internal.classic |
This package contains the Hibernate 2.x query parser which
is being end-of-lifed.
|
org.hibernate.hql.spi | |
org.hibernate.hql.spi.id.inline | |
org.hibernate.id |
This package contains internal implementation classes for the
main API interfaces.
|
org.hibernate.id.enhanced |
Enhanced/improved versions of table and sequence based identifier generators targeting portability and unified
configuration
|
org.hibernate.id.factory | |
org.hibernate.id.factory.internal | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.internal.util |
Internal utility classes.
|
org.hibernate.internal.util.collections | |
org.hibernate.jpa | |
org.hibernate.jpa.spi | |
org.hibernate.loader |
This package defines functionality for processing JDBC
result sets and returning complex graphs of persistent
objects.
|
org.hibernate.loader.collection |
This package defines collection initializers
|
org.hibernate.loader.collection.plan | |
org.hibernate.loader.criteria |
This package defines the criteria query compiler and loader
|
org.hibernate.loader.custom |
This package defines a framework for custom loaders that accept
handwritten SQL
|
org.hibernate.loader.entity |
This package defines entity loaders
|
org.hibernate.loader.entity.plan | |
org.hibernate.loader.plan.build.internal.returns |
Contains the internal implementations of the building blocks that make up a metamodel-driven LoadPlan.
|
org.hibernate.loader.plan.build.internal.spaces |
Contains the internal implementations of query spaces in a metamodel-driven LoadPlan.
|
org.hibernate.loader.plan.spi |
Defines the SPI for the building blocks that make up a LoadPlan.
|
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.metadata |
This package defines an API for accessing the Hibernate
runtime metamodel.
|
org.hibernate.metamodel.internal | |
org.hibernate.param | |
org.hibernate.persister.collection |
This package abstracts the persistence mechanism for collections.
|
org.hibernate.persister.entity |
This package abstracts persistence mechanisms for
entities, and defines the Hibernate runtime
metamodel.
|
org.hibernate.persister.walking.internal | |
org.hibernate.persister.walking.spi | |
org.hibernate.pretty |
Classes for pretty printing things for exception
and log messages.
|
org.hibernate.procedure | |
org.hibernate.procedure.internal |
Defines the internal support for implementing stored procedure calling.
|
org.hibernate.procedure.spi | |
org.hibernate.query | |
org.hibernate.query.criteria.internal.compile | |
org.hibernate.query.internal | |
org.hibernate.query.procedure.internal | |
org.hibernate.query.spi | |
org.hibernate.search.query.hibernate.impl | |
org.hibernate.transform |
Defines strategies for post-processing criteria query
result sets into a form convenient to the application.
|
org.hibernate.tuple |
This package defines a runtime metamodel for entities at
the object level and abstracts the differences between
the various entity modes.
|
org.hibernate.tuple.component | |
org.hibernate.tuple.entity | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
org.hibernate.type.descriptor.converter |
Support for handling JPA
AttributeConverter instances as part of the
Hibernate Type system. |
org.hibernate.usertype |
Interfaces for user-defined custom types.
|
Modifier and Type | Method and Description |
---|---|
Type |
TypeHelper.any(Type metaType,
Type identifierType)
Retrieve the type representing an ANY mapping.
|
Type |
TypeHelper.custom(Class userTypeClass)
Retrieve the type for the given user-type class (
UserType or
CompositeUserType ). |
Type |
TypeHelper.custom(Class userTypeClass,
Properties properties)
Retrieve the type for the given user-type class (
UserType or
CompositeUserType ). |
Type |
Query.determineProperBooleanType(int position,
Object value,
Type defaultType)
Deprecated.
added only to allow default method definition for deprecated methods here.
|
Type |
Query.determineProperBooleanType(String name,
Object value,
Type defaultType)
Deprecated.
added only to allow default method definition for deprecated methods here.
|
Type |
TypeHelper.entity(Class entityClass)
Retrieve a type representing the given entity.
|
Type |
TypeHelper.entity(String entityName)
Retrieve a type representing the given entity.
|
Type[] |
Query.getReturnTypes()
Deprecated.
(since 5.2) with no replacement; to be removed in 6.0
|
Type[] |
BasicQueryContract.getReturnTypes()
Deprecated.
(since 5.2) with no replacement; to be removed in 6.0
|
Type |
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(String name)
Uses heuristics to deduce the proper
Type given a string naming the type or Java class. |
Modifier and Type | Method and Description |
---|---|
SQLQuery<T> |
SQLQuery.addScalar(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,
Object value,
Type defaultType)
Deprecated.
added only to allow default method definition for deprecated methods here.
|
Type |
Query.determineProperBooleanType(String name,
Object value,
Type defaultType)
Deprecated.
added only to allow default method definition for deprecated methods here.
|
int[] |
Interceptor.findDirty(Object entity,
Serializable id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
Type[] types)
Called from flush().
|
int[] |
EmptyInterceptor.findDirty(Object entity,
Serializable id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
Type[] types) |
void |
Interceptor.onDelete(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types)
Called before an object is deleted.
|
void |
EmptyInterceptor.onDelete(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types) |
boolean |
Interceptor.onFlushDirty(Object entity,
Serializable id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
Type[] types)
Called when an object is detected to be dirty, during a flush.
|
boolean |
EmptyInterceptor.onFlushDirty(Object entity,
Serializable id,
Object[] currentState,
Object[] previousState,
String[] propertyNames,
Type[] types) |
boolean |
Interceptor.onLoad(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types)
Called just before an object is initialized.
|
boolean |
EmptyInterceptor.onLoad(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types) |
boolean |
Interceptor.onSave(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types)
Called before an object is saved.
|
boolean |
EmptyInterceptor.onSave(Object entity,
Serializable id,
Object[] state,
String[] propertyNames,
Type[] types) |
NativeQuery<T> |
SQLQuery.setParameter(int position,
Object val,
Type type)
Deprecated.
|
Query<R> |
Query.setParameter(int position,
Object val,
Type type)
Deprecated.
Bind a value to a JDBC-style query parameter.
|
<P> NativeQuery<T> |
SQLQuery.setParameter(QueryParameter<P> parameter,
P val,
Type type)
Deprecated.
|
<P> Query<R> |
Query.setParameter(QueryParameter<P> parameter,
P val,
Type type)
Deprecated.
Bind a query parameter using the supplied Type
|
NativeQuery<T> |
SQLQuery.setParameter(String name,
Object val,
Type type)
Deprecated.
|
Query<R> |
Query.setParameter(String name,
Object val,
Type type)
Deprecated.
Bind a named query parameter using the supplied Type
|
Query<R> |
Query.setParameterList(int position,
Collection values,
Type type)
Deprecated.
|
Query<R> |
Query.setParameterList(int position,
Object[] values,
Type type)
Deprecated.
|
NativeQuery<T> |
SQLQuery.setParameterList(String name,
Collection values,
Type type)
Deprecated.
|
Query<R> |
Query.setParameterList(String name,
Collection values,
Type type)
Deprecated.
Bind multiple values to a named query parameter.
|
NativeQuery<T> |
SQLQuery.setParameterList(String name,
Object[] values,
Type type)
Deprecated.
|
Query<R> |
Query.setParameterList(String name,
Object[] values,
Type type)
Deprecated.
Bind multiple values to a named query parameter.
|
default Query<R> |
Query.setParameters(Object[] values,
Type[] types)
Deprecated.
(since 5.2) Bind values individually
|
Modifier and Type | Method and Description |
---|---|
Type |
MetadataImpl.getIdentifierType(String entityName) |
Type |
InFlightMetadataCollectorImpl.getIdentifierType(String entityName) |
Type |
MetadataImpl.getReferencedPropertyType(String entityName,
String propertyName) |
Type |
InFlightMetadataCollectorImpl.getReferencedPropertyType(String entityName,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
Type |
AbstractDelegatingMetadata.getIdentifierType(String className) |
Type |
AbstractDelegatingMetadata.getReferencedPropertyType(String className,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
Type |
LazyAttributeDescriptor.getType()
Access to the attribute's type
|
Modifier and Type | Method and Description |
---|---|
List |
QueryResultsCacheImpl.get(QueryKey key,
Set<Serializable> spaces,
Type[] returnTypes,
SharedSessionContractImplementor session) |
List |
QueryResultsCacheImpl.get(QueryKey key,
String[] spaces,
Type[] returnTypes,
SharedSessionContractImplementor session) |
boolean |
QueryResultsCacheImpl.put(QueryKey key,
List results,
Type[] returnTypes,
SharedSessionContractImplementor session) |
Constructor and Description |
---|
NaturalIdCacheKey(Object[] naturalIdValues,
Type[] propertyTypes,
int[] naturalIdPropertyIndexes,
String entityName,
SharedSessionContractImplementor session)
Construct a new key for a caching natural identifier resolutions into the second level cache.
|
Modifier and Type | Method and Description |
---|---|
List |
QueryResultsCache.get(QueryKey key,
Set<Serializable> spaces,
Type[] returnTypes,
SharedSessionContractImplementor session)
Get results from the cache.
|
List |
QueryResultsCache.get(QueryKey key,
String[] spaces,
Type[] returnTypes,
SharedSessionContractImplementor session)
Get results from the cache.
|
default List |
QueryResultsCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SharedSessionContractImplementor session) |
List |
QueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SharedSessionContractImplementor session)
Deprecated.
Get results from the cache.
|
boolean |
QueryResultsCache.put(QueryKey key,
List result,
Type[] returnTypes,
SharedSessionContractImplementor session)
Put a result into the query cache.
|
default boolean |
QueryResultsCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SharedSessionContractImplementor session) |
boolean |
QueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SharedSessionContractImplementor session)
Deprecated.
Put a result into the query cache.
|
Modifier and Type | Method and Description |
---|---|
protected Object |
AbstractPersistentCollection.AbstractValueDelayedOperation.getReplacement(Type type,
Object current,
Map copyCache) |
boolean |
PersistentSet.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentMap.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentList.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentIdentifierBag.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentBag.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentArrayHolder.needsInserting(Object entry,
int i,
Type elemType) |
boolean |
PersistentSet.needsUpdating(Object entry,
int i,
Type elemType) |
boolean |
PersistentMap.needsUpdating(Object entry,
int i,
Type elemType) |
boolean |
PersistentList.needsUpdating(Object entry,
int i,
Type elemType) |
boolean |
PersistentIdentifierBag.needsUpdating(Object entry,
int i,
Type elemType) |
boolean |
PersistentBag.needsUpdating(Object entry,
int i,
Type elemType) |
boolean |
PersistentArrayHolder.needsUpdating(Object entry,
int i,
Type elemType) |
Modifier and Type | Method and Description |
---|---|
boolean |
PersistentCollection.needsInserting(Object entry,
int i,
Type elemType)
Do we need to insert this element?
|
boolean |
PersistentCollection.needsUpdating(Object entry,
int i,
Type elemType)
Do we need to update this element?
|
Modifier and Type | Method and Description |
---|---|
Type |
CriteriaQuery.getIdentifierType(Criteria criteria)
Get the identifier type of this entity
|
Type |
CriteriaQuery.getType(Criteria criteria,
String propertyPath)
Get the type of a property path.
|
protected Type[] |
SubqueryExpression.getTypes() |
Type[] |
SQLProjection.getTypes(Criteria crit,
CriteriaQuery criteriaQuery) |
Type[] |
RowCountProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
PropertyProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
ProjectionList.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Projection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery)
Types returned by the rendered SQL
fragment . |
Type[] |
IdentifierProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Distinct.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AliasedProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AggregateProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
SimpleProjection.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
SQLProjection.getTypes(String alias,
Criteria crit,
CriteriaQuery criteriaQuery) |
Type[] |
ProjectionList.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Projection.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery)
Get the return types for a particular user-visible alias.
|
Type[] |
Distinct.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AliasedProjection.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type |
CriteriaQuery.getTypeUsingProjection(Criteria criteria,
String propertyPath)
Get the type of a property path.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterInfoCollector.addNamedParameter(String name,
Type type) |
void |
ParameterInfoCollector.addPositionalParameter(int label,
Type type) |
protected void |
Example.addPropertyTypedValue(Object value,
Type type,
List<TypedValue> list) |
boolean |
Example.PropertySelector.include(Object propertyValue,
String propertyName,
Type type)
Determine whether the given property should be used in the criteria.
|
boolean |
Example.AllPropertySelector.include(Object object,
String propertyName,
Type type) |
boolean |
Example.NotNullPropertySelector.include(Object object,
String propertyName,
Type type) |
boolean |
Example.NotNullOrZeroPropertySelector.include(Object object,
String propertyName,
Type type) |
static Criterion |
Expression.sql(String sql,
Object[] values,
Type[] types)
Deprecated.
|
static Criterion |
Expression.sql(String sql,
Object value,
Type type)
Deprecated.
|
static Projection |
Projections.sqlGroupProjection(String sql,
String groupBy,
String[] columnAliases,
Type[] types)
A grouping SQL projection, specifying both select clause and group by clause fragments
|
static Projection |
Projections.sqlProjection(String sql,
String[] columnAliases,
Type[] types)
A SQL projection, a typed select clause fragment
|
static Criterion |
Restrictions.sqlRestriction(String sql,
Object[] values,
Type[] types)
Create a restriction expressed in SQL with JDBC parameters.
|
static Criterion |
Restrictions.sqlRestriction(String sql,
Object value,
Type type)
Create a restriction expressed in SQL with one JDBC parameter.
|
Constructor and Description |
---|
SQLCriterion(String sql,
Object[] values,
Type[] types) |
SQLCriterion(String sql,
Object value,
Type type) |
SQLProjection(String sql,
String[] columnAliases,
Type[] types) |
SQLProjection(String sql,
String groupBy,
String[] columnAliases,
Type[] types) |
Modifier and Type | Method and Description |
---|---|
Type |
VarArgsSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
TrimFunctionTemplate.getReturnType(Type firstArgument,
Mapping mapping) |
Type |
StandardSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
StandardAnsiSqlAggregationFunctions.SumFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
SQLFunctionTemplate.getReturnType(Type argumentType,
Mapping mapping) |
Type |
SQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
NvlFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
NoArgSQLFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
DerbyConcatFunction.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
ConvertFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
CharIndexFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
CastFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
AbstractAnsiTrimEmulationFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
StandardSQLFunction.getType()
Function static return type accessor.
|
Modifier and Type | Method and Description |
---|---|
protected int |
StandardAnsiSqlAggregationFunctions.SumFunction.determineJdbcTypeCode(Type type,
Mapping mapping) |
protected int |
StandardAnsiSqlAggregationFunctions.AvgFunction.determineJdbcTypeCode(Type firstArgumentType,
SessionFactoryImplementor factory) |
Type |
VarArgsSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
TrimFunctionTemplate.getReturnType(Type firstArgument,
Mapping mapping) |
Type |
StandardSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
StandardAnsiSqlAggregationFunctions.SumFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
SQLFunctionTemplate.getReturnType(Type argumentType,
Mapping mapping) |
Type |
SQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
NvlFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
NoArgSQLFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
DerbyConcatFunction.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
ConvertFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
CharIndexFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
CastFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
AbstractAnsiTrimEmulationFunction.getReturnType(Type argumentType,
Mapping mapping) |
String |
VarArgsSQLFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory) |
String |
TrimFunctionTemplate.render(Type firstArgument,
List args,
SessionFactoryImplementor factory) |
String |
StaticPrecisionFspTimestampFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
StandardSQLFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor sessionFactory) |
String |
StandardJDBCEscapeFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
StandardAnsiSqlAggregationFunctions.CountFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory) |
String |
StandardAnsiSqlAggregationFunctions.AvgFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory) |
String |
SQLFunctionTemplate.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
SQLFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
PositionSubstringFunction.render(Type firstArgumentType,
List args,
SessionFactoryImplementor factory) |
String |
NvlFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
NoArgSQLFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
DerbyConcatFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
ConvertFunction.render(Type firstArgumentType,
List args,
SessionFactoryImplementor factory) |
String |
ConditionalParenthesisFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor sessionFactory) |
String |
CharIndexFunction.render(Type columnType,
List args,
SessionFactoryImplementor factory) |
String |
CastFunction.render(Type columnType,
List args,
SessionFactoryImplementor factory) |
String |
AbstractAnsiTrimEmulationFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
Constructor and Description |
---|
ConditionalParenthesisFunction(String name,
Type type)
Constructs a ConditionalParenthesisFunction with the given name
|
NoArgSQLFunction(String name,
Type returnType)
Constructs a NoArgSQLFunction
|
NoArgSQLFunction(String name,
Type returnType,
boolean hasParenthesesIfNoArguments)
Constructs a NoArgSQLFunction
|
SQLFunctionTemplate(Type type,
String template)
Constructs a SQLFunctionTemplate
|
SQLFunctionTemplate(Type type,
String template,
boolean hasParenthesesIfNoArgs)
Constructs a SQLFunctionTemplate
|
StandardJDBCEscapeFunction(String name,
Type typeValue)
Constructs a StandardJDBCEscapeFunction
|
StandardSQLFunction(String name,
Type registeredType)
Construct a standard SQL function definition with a static return type.
|
VarArgsSQLFunction(Type registeredType,
String begin,
String sep,
String end)
Constructs a VarArgsSQLFunction instance with a 'static' return type.
|
Modifier and Type | Method and Description |
---|---|
static IdentifierValue |
UnsavedValueFactory.getUnsavedIdentifierValue(String unsavedValue,
Getter identifierGetter,
Type identifierType,
Constructor constructor)
Return an IdentifierValue for the specified unsaved-value.
|
void |
ForeignKeys.Nullifier.nullifyTransientReferences(Object[] values,
Type[] types)
Nullify all references to entities that have not yet been inserted in the database, where the foreign key
points toward that entity.
|
Modifier and Type | Method and Description |
---|---|
Type |
AbstractParameterDescriptor.getExpectedType() |
Type |
AbstractParameterDescriptor.getHibernateType() |
Type[] |
ReturnMetadata.getReturnTypes() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractParameterDescriptor.resetExpectedType(Type expectedType) |
Constructor and Description |
---|
AbstractParameterDescriptor(int[] sourceLocations,
Type expectedType) |
NamedParameterDescriptor(String name,
Type expectedType,
int[] sourceLocations)
Constructs a NamedParameterDescriptor
|
OrdinalParameterDescriptor(int label,
int valuePosition,
Type expectedType,
int[] sourceLocations)
Constructs an ordinal parameter descriptor.
|
Modifier and Type | Method and Description |
---|---|
Type |
NativeSQLQueryScalarReturn.getType() |
Constructor and Description |
---|
NativeSQLQueryScalarReturn(String alias,
Type type) |
Modifier and Type | Method and Description |
---|---|
Type[] |
QueryParameters.getFilteredPositionalParameterTypes() |
Type |
LoadQueryInfluencers.getFilterParameterType(String filterParameterName) |
Type |
SessionFactoryDelegatingImpl.getIdentifierType(String className) |
Type |
Mapping.getIdentifierType(String className) |
Type |
FilterDefinition.getParameterType(String parameterName)
Retrieve the type of the named parameter defined for this filter.
|
Type[] |
QueryParameters.getPositionalParameterTypes() |
Type |
SessionFactoryDelegatingImpl.getReferencedPropertyType(String className,
String propertyName) |
Type |
Mapping.getReferencedPropertyType(String className,
String propertyName) |
default Type[] |
SessionFactoryImplementor.getReturnTypes(String queryString)
Deprecated.
No replacement.
|
Type[] |
SessionFactoryDelegatingImpl.getReturnTypes(String queryString) |
Type |
TypedValue.getType() |
Type |
SessionFactoryDelegatingImpl.resolveParameterBindType(Class clazz) |
Type |
SessionFactoryDelegatingImpl.resolveParameterBindType(Object bindValue) |
Modifier and Type | Method and Description |
---|---|
Map<String,Type> |
FilterDefinition.getParameterTypes() |
Modifier and Type | Method and Description |
---|---|
void |
QueryParameters.bindDynamicParameter(Type paramType,
Object paramValue) |
void |
CascadingActions.BaseCascadingAction.noCascade(EventSource session,
Object parent,
EntityPersister persister,
Type propertyType,
int propertyIndex) |
void |
CascadingAction.noCascade(EventSource session,
Object parent,
EntityPersister persister,
Type propertyType,
int propertyIndex)
Called (in the case of
CascadingAction.requiresNoCascadeChecking() returning true) to validate
that no cascade on the given property is considered a valid semantic. |
void |
QueryParameters.setPositionalParameterTypes(Type[] types) |
Constructor and Description |
---|
EntityUniqueKey(String entityName,
String uniqueKeyName,
Object semiResolvedKey,
Type keyType,
EntityMode entityMode,
SessionFactoryImplementor factory) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
LockOptions lockOptions,
RowSelection rowSelection,
boolean isReadOnlyInitialized,
boolean readOnly,
boolean cacheable,
String cacheRegion,
String comment,
List<String> queryHints,
boolean isLookupByNaturalKey,
ResultTransformer transformer) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map<String,TypedValue> namedParameters,
LockOptions lockOptions,
RowSelection rowSelection,
boolean isReadOnlyInitialized,
boolean readOnly,
boolean cacheable,
String cacheRegion,
String comment,
List<String> queryHints,
Serializable[] collectionKeys,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
ResultTransformer transformer) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map<String,TypedValue> namedParameters,
LockOptions lockOptions,
RowSelection rowSelection,
boolean isReadOnlyInitialized,
boolean readOnly,
boolean cacheable,
String cacheRegion,
String comment,
List<String> queryHints,
Serializable[] collectionKeys,
ResultTransformer transformer) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Map<String,TypedValue> namedParameters,
Serializable[] collectionKeys) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Object optionalObject,
String optionalEntityName,
Serializable optionalObjectId) |
QueryParameters(Type[] positionalParameterTypes,
Object[] positionalParameterValues,
Serializable[] collectionKeys) |
QueryParameters(Type type,
Object value) |
TypedValue(Type type,
Object value) |
TypedValue(Type type,
Object value,
EntityMode entityMode)
Deprecated.
explicit entity mode support is deprecated
|
Constructor and Description |
---|
FilterDefinition(String name,
String defaultCondition,
Map<String,Type> parameterTypes)
Construct a new FilterDefinition instance.
|
Modifier and Type | Method and Description |
---|---|
PropertyData |
PropertyAuditingData.resolvePropertyData(Type propertyType) |
PropertyData |
PropertyAuditingData.resolvePropertyData(Type propertyType,
Type virtualType) |
Modifier and Type | Method and Description |
---|---|
protected DatabaseStructure |
OrderedSequenceGenerator.buildSequenceStructure(Type type,
Properties params,
JdbcEnvironment jdbcEnvironment,
QualifiedName sequenceName,
int initialValue,
int incrementSize) |
Modifier and Type | Method and Description |
---|---|
Type |
PropertyData.getType() |
Modifier and Type | Method and Description |
---|---|
static PropertyData |
PropertyData.forProperty(String propertyName,
Type propertyType) |
Constructor and Description |
---|
PropertyData(String name,
String beanName,
String accessType,
ModificationStore store,
boolean usingModifiedFlag,
String modifiedFlagName,
boolean synthetic,
Type propertyType) |
PropertyData(String name,
String beanName,
String accessType,
ModificationStore store,
boolean usingModifiedFlag,
String modifiedFlagName,
boolean synthetic,
Type propertyType,
Class<?> virtualReturnClass) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractVisitor.processEntityPropertyValues(Object[] values,
Type[] types)
Dispatch each property value to processValue().
|
protected boolean |
DefaultReplicateEventListener.visitCollectionsBeforeSave(Object entity,
Serializable id,
Object[] values,
Type[] types,
EventSource source) |
protected boolean |
AbstractSaveEventListener.visitCollectionsBeforeSave(Object entity,
Serializable id,
Object[] values,
Type[] types,
EventSource source) |
Modifier and Type | Method and Description |
---|---|
static String[][] |
NameGenerator.generateColumnNames(Type[] types,
SessionFactoryImplementor f) |
Modifier and Type | Method and Description |
---|---|
Type |
PositionalParameterInformationImpl.getExpectedType() |
Type |
NamedParameterInformationImpl.getExpectedType() |
Type |
TypeDiscriminatorMetadata.getResolutionType()
Get the type used to resolve the actual discriminator value resulting from
TypeDiscriminatorMetadata.getSqlFragment() back into a Class reference. |
Type[] |
QueryTranslatorImpl.getReturnTypes()
Types of the return values of an iterate() style query.
|
Type[] |
HqlSqlWalker.getReturnTypes() |
Modifier and Type | Method and Description |
---|---|
void |
PositionalParameterInformationImpl.setExpectedType(Type expectedType) |
void |
NamedParameterInformationImpl.setExpectedType(Type expectedType) |
Constructor and Description |
---|
PositionalParameterInformationImpl(int label,
Type initialType) |
Modifier and Type | Method and Description |
---|---|
protected Type |
BinaryLogicOperatorNode.extractDataType(Node operand) |
Type |
UnaryLogicOperatorNode.getDataType() |
Type |
UnaryArithmeticNode.getDataType() |
Type |
SqlNode.getDataType() |
Type |
SimpleCaseNode.getDataType() |
Type |
SelectExpression.getDataType()
Returns the data type of the select expression.
|
Type |
SearchedCaseNode.getDataType() |
Type |
QueryNode.getDataType() |
Type |
OperatorNode.getDataType()
Retrieves the data type for the overall operator expression.
|
Type |
NullNode.getDataType() |
Type |
LiteralNode.getDataType() |
Type |
IdentNode.getDataType() |
Type |
FromElement.getDataType() |
Type |
DotNode.getDataType() |
Type |
CountNode.getDataType() |
Type |
ConstructorNode.getDataType()
Deprecated.
(tell clover to ignore this method)
|
Type |
ComponentJoin.getDataType() |
Type |
ComponentJoin.ComponentFromElementType.getDataType() |
Type |
BooleanLiteralNode.getDataType() |
Type |
BinaryLogicOperatorNode.getDataType() |
Type |
BinaryArithmeticOperatorNode.getDataType()
Figure out the type of the binary expression by looking at
the types of the operands.
|
Type |
BetweenOperatorNode.getDataType() |
Type |
AggregateNode.getDataType() |
Type |
SimpleCaseNode.getExpectedType() |
Type |
SearchedCaseNode.getExpectedType() |
Type |
ParameterNode.getExpectedType() |
Type |
LiteralNode.getExpectedType() |
Type |
JavaConstantNode.getExpectedType() |
Type |
ExpectedTypeAwareNode.getExpectedType() |
Type |
BooleanLiteralNode.getExpectedType() |
Type |
MethodNode.getFirstArgumentType() |
Type |
FunctionNode.getFirstArgumentType() |
Type |
CastFunctionNode.getFirstArgumentType() |
Type |
AggregateNode.getFirstArgumentType() |
Type[] |
IntoClause.getInsertionTypes() |
Type |
FromElement.getPropertyType(String propertyName,
String propertyPath) |
Type |
ComponentJoin.ComponentFromElementType.getPropertyType(String propertyName,
String propertyPath) |
Type[] |
SelectClause.getQueryReturnTypes()
The types actually being returned from this query at the "object level".
|
Type |
FromElement.getSelectType() |
Type |
CollectionPropertyReference.getType() |
protected Type |
MapValueNode.resolveType(QueryableCollection collectionPersister) |
protected Type |
MapKeyNode.resolveType(QueryableCollection collectionPersister) |
protected Type |
MapEntryNode.resolveType(QueryableCollection collectionPersister) |
protected abstract Type |
AbstractMapComponentNode.resolveType(QueryableCollection collectionPersister) |
Modifier and Type | Method and Description |
---|---|
void |
FromElement.handlePropertyBeingDereferenced(Type propertySource,
String propertyName) |
protected void |
BinaryLogicOperatorNode.mutateRowValueConstructorSyntaxesIfNecessary(Type lhsType,
Type rhsType) |
void |
SqlNode.setDataType(Type dataType) |
void |
SimpleCaseNode.setExpectedType(Type expectedType) |
void |
SearchedCaseNode.setExpectedType(Type expectedType) |
void |
ParameterNode.setExpectedType(Type expectedType) |
void |
LiteralNode.setExpectedType(Type expectedType) |
void |
JavaConstantNode.setExpectedType(Type expectedType) |
void |
ExpectedTypeAwareNode.setExpectedType(Type expectedType) |
void |
BooleanLiteralNode.setExpectedType(Type expectedType) |
Modifier and Type | Method and Description |
---|---|
Type |
SessionFactoryHelper.findFunctionReturnType(String functionName,
antlr.collections.AST first)
Find the function return type given the function name and the first argument expression node.
|
Type |
SessionFactoryHelper.findFunctionReturnType(String functionName,
SQLFunction sqlFunction,
antlr.collections.AST firstArgument) |
Modifier and Type | Method and Description |
---|---|
String[][] |
SessionFactoryHelper.generateColumnNames(Type[] sqlResultTypes) |
int |
SessionFactoryHelper.getColumnSpan(Type type)
Retrieve the number of columns represented by this type.
|
Modifier and Type | Method and Description |
---|---|
Type |
SelectParser.aggregateType(List funcTokenList,
Type type,
QueryTranslatorImpl q) |
Type |
AbstractParameterInformation.getExpectedType() |
protected Type |
PathExpressionParser.getPropertyType() |
Type[] |
QueryTranslatorImpl.getReturnTypes()
Types of the return values of an iterate() style query.
|
Type |
PathExpressionParser.getWhereColumnType() |
Modifier and Type | Method and Description |
---|---|
Type |
SelectParser.aggregateType(List funcTokenList,
Type type,
QueryTranslatorImpl q) |
void |
AbstractParameterInformation.setExpectedType(Type expectedType) |
Modifier and Type | Method and Description |
---|---|
Type |
ParameterInformation.getExpectedType() |
Type[] |
QueryTranslator.getReturnTypes()
Returns an array of Types represented in the query result.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterInformation.setExpectedType(Type expectedType) |
Modifier and Type | Method and Description |
---|---|
Type |
IdsClauseBuilder.getIdentifierType() |
Constructor and Description |
---|
IdsClauseBuilder(Dialect dialect,
Type identifierType,
TypeConfiguration typeConfiguration,
String[] columns,
List<Object[]> ids) |
IdsClauseBuilder(Dialect dialect,
Type identifierType,
TypeResolver typeResolver,
String[] columns,
List<Object[]> ids)
Deprecated.
|
InlineIdsInClauseBuilder(Dialect dialect,
Type identifierType,
TypeResolver typeResolver,
String[] columns,
List<Object[]> ids) |
InlineIdsOrClauseBuilder(Dialect dialect,
Type identifierType,
TypeResolver typeResolver,
String[] columns,
List<Object[]> ids) |
InlineIdsSubSelectValuesListBuilder(Dialect dialect,
Type identifierType,
TypeResolver typeResolver,
String[] columns,
List<Object[]> ids) |
Modifier and Type | Method and Description |
---|---|
protected Type |
SequenceGenerator.getIdentifierType()
Deprecated.
|
Type |
ExportableColumn.ValueImpl.getType() |
Modifier and Type | Method and Description |
---|---|
void |
UUIDHexGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
UUIDGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
SequenceIdentityGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Deprecated.
|
void |
SequenceHiLoGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Deprecated.
|
void |
SequenceGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Deprecated.
|
void |
SelectGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
MultipleHiLoPerTableGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Deprecated.
|
void |
IncrementGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
ForeignGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
Configurable.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Configure this instance, given the value of parameters
specified by the user as <param> elements.
|
void |
Assigned.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
static Serializable |
IdentifierGeneratorHelper.get(ResultSet rs,
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 Serializable |
IdentifierGeneratorHelper.getGeneratedIdentity(ResultSet rs,
String identifier,
Type type,
Dialect dialect)
Get the generated identifier when using identity columns
|
Modifier and Type | Method and Description |
---|---|
Type |
TableGenerator.getIdentifierType()
Type mapping for the identifier.
|
Type |
SequenceStyleGenerator.getIdentifierType()
Getter for property 'identifierType'.
|
Modifier and Type | Method and Description |
---|---|
protected DatabaseStructure |
SequenceStyleGenerator.buildDatabaseStructure(Type type,
Properties params,
JdbcEnvironment jdbcEnvironment,
boolean forceTableUse,
QualifiedName sequenceName,
int initialValue,
int incrementSize)
Build the database structure.
|
protected DatabaseStructure |
SequenceStyleGenerator.buildSequenceStructure(Type type,
Properties params,
JdbcEnvironment jdbcEnvironment,
QualifiedName sequenceName,
int initialValue,
int incrementSize) |
protected DatabaseStructure |
SequenceStyleGenerator.buildTableStructure(Type type,
Properties params,
JdbcEnvironment jdbcEnvironment,
QualifiedName sequenceName,
int initialValue,
int incrementSize) |
void |
TableGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
SequenceStyleGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
IdentifierGeneratorFactory.createIdentifierGenerator(String strategy,
Type type,
Properties config)
Given a strategy, retrieve the appropriate identifier generator instance.
|
Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
DefaultIdentifierGeneratorFactory.createIdentifierGenerator(String strategy,
Type type,
Properties config) |
Modifier and Type | Method and Description |
---|---|
Type |
TypeLocatorImpl.any(Type metaType,
Type identifierType) |
Type |
TypeLocatorImpl.custom(Class userTypeClass) |
Type |
TypeLocatorImpl.custom(Class userTypeClass,
Properties parameters) |
Type |
TypeLocatorImpl.entity(Class entityClass) |
Type |
TypeLocatorImpl.entity(String entityName) |
Type |
SessionFactoryImpl.getIdentifierType(String className) |
Type |
SessionFactoryImpl.getReferencedPropertyType(String className,
String propertyName) |
Type[] |
SessionFactoryImpl.getReturnTypes(String queryString) |
Type |
EmptyScrollableResults.getType(int i) |
Type |
AbstractScrollableResults.getType(int i) |
protected Type[] |
AbstractScrollableResults.getTypes() |
Type |
TypeLocatorImpl.heuristicType(String name) |
Type |
SessionFactoryImpl.resolveParameterBindType(Class clazz) |
Type |
SessionFactoryImpl.resolveParameterBindType(Object bindValue) |
Modifier and Type | Method and Description |
---|---|
Type |
TypeLocatorImpl.any(Type metaType,
Type identifierType) |
protected Object |
AbstractScrollableResults.getFinal(int col,
Type returnType)
Check that the requested type is compatible with the result type, and
return the column value.
|
protected Object |
AbstractScrollableResults.getNonFinal(int col,
Type returnType)
Check that the requested type is compatible with the result type, and
return the column value.
|
void |
CoreMessageLogger.typeRegistrationOverridesPrevious(String key,
Type old) |
Constructor and Description |
---|
AbstractScrollableResults(ResultSet rs,
PreparedStatement ps,
SharedSessionContractImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator) |
FetchingScrollableResultsImpl(ResultSet rs,
PreparedStatement ps,
SharedSessionContractImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator)
Constructs a FetchingScrollableResultsImpl.
|
IteratorImpl(ResultSet rs,
PreparedStatement ps,
EventSource sess,
boolean readOnly,
Type[] types,
String[][] columnNames,
HolderInstantiator holderInstantiator) |
ScrollableResultsImpl(ResultSet rs,
PreparedStatement ps,
SharedSessionContractImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator)
Constructs a ScrollableResultsImpl using the specified information.
|
Modifier and Type | Method and Description |
---|---|
static Constructor |
ReflectHelper.getConstructor(Class clazz,
Type[] types)
Retrieve a constructor for the given class, with arguments matching the specified Hibernate mapping
types . |
String |
EntityPrinter.toString(Type[] types,
Object[] values) |
Modifier and Type | Field and Description |
---|---|
static Type[] |
ArrayHelper.EMPTY_TYPE_ARRAY |
Modifier and Type | Method and Description |
---|---|
static Type[] |
ArrayHelper.toTypeArray(Collection coll) |
Modifier and Type | Method and Description |
---|---|
Type |
TypedParameterValue.getType()
The specific Hibernate type to use to bind the value.
|
Constructor and Description |
---|
TypedParameterValue(Type type,
Object value) |
Modifier and Type | Method and Description |
---|---|
Type |
TupleBuilderTransformer.HqlTupleElementImpl.getHibernateType() |
Modifier and Type | Method and Description |
---|---|
void |
HibernateEntityManagerImplementor.QueryOptions.ResultMetadataValidator.validate(Type[] returnTypes) |
Constructor and Description |
---|
HqlTupleElementImpl(int position,
String alias,
Type hibernateType) |
Modifier and Type | Method and Description |
---|---|
protected List |
Loader.list(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Set<Serializable> querySpaces,
Type[] resultTypes)
Return the query results, using the query cache, called
by subclasses that implement cacheable queries
|
void |
Loader.loadCollection(SharedSessionContractImplementor session,
Serializable id,
Type type)
Called by subclasses that initialize collections
|
void |
Loader.loadCollectionBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type type)
Called by wrappers that batch initialize collections
|
protected void |
Loader.loadCollectionSubselect(SharedSessionContractImplementor session,
Serializable[] ids,
Object[] parameterValues,
Type[] parameterTypes,
Map<String,TypedValue> namedParameters,
Type type)
Called by subclasses that batch initialize collections
|
protected void |
Loader.loadCollectionSubselect(SharedSessionContractImplementor session,
Serializable[] ids,
Object[] parameterValues,
Type[] parameterTypes,
Map<String,TypedValue> namedParameters,
Type type)
Called by subclasses that batch initialize collections
|
protected List |
Loader.loadEntity(SharedSessionContractImplementor session,
Object key,
Object index,
Type keyType,
Type indexType,
EntityPersister persister)
Called by subclasses that load entities
|
protected List |
Loader.loadEntity(SharedSessionContractImplementor session,
Object id,
Type identifierType,
Object optionalObject,
String optionalEntityName,
Serializable optionalIdentifier,
EntityPersister persister,
LockOptions lockOptions)
Called by subclasses that load entities
|
List |
Loader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
protected void |
Loader.putResultInQueryCache(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryResultsCache queryCache,
QueryKey key,
List result) |
protected ScrollableResultsImplementor |
Loader.scroll(QueryParameters queryParameters,
Type[] returnTypes,
HolderInstantiator holderInstantiator,
SharedSessionContractImplementor session)
Return the query results, as an instance of ScrollableResults
|
Modifier and Type | Method and Description |
---|---|
protected Type |
CollectionLoader.getKeyType() |
Modifier and Type | Method and Description |
---|---|
protected Type |
CollectionLoader.getKeyType() |
Modifier and Type | Method and Description |
---|---|
Type |
CriteriaQueryTranslator.getIdentifierType(Criteria criteria) |
Type[] |
CriteriaQueryTranslator.getProjectedTypes() |
Type[] |
CriteriaJoinWalker.getResultTypes() |
Type |
CriteriaQueryTranslator.getType(Criteria subcriteria,
String propertyName) |
Type |
CriteriaQueryTranslator.getTypeUsingProjection(Criteria subcriteria,
String propertyName) |
Modifier and Type | Method and Description |
---|---|
Type |
ScalarReturn.getType() |
Modifier and Type | Method and Description |
---|---|
protected void |
CustomLoader.putResultInQueryCache(SharedSessionContractImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryResultsCache queryCache,
QueryKey key,
List result)
CustomLoader.resultTypes can be overridden by CustomLoader.autoDiscoverTypes(ResultSet) ,
*after* CustomLoader.list(SharedSessionContractImplementor, QueryParameters) has already been called. |
Modifier and Type | Method and Description |
---|---|
void |
ScalarResultColumnProcessor.performDiscovery(org.hibernate.loader.custom.JdbcResultMetadata metadata,
List<Type> types,
List<String> aliases) |
void |
NonScalarResultColumnProcessor.performDiscovery(org.hibernate.loader.custom.JdbcResultMetadata metadata,
List<Type> types,
List<String> aliases) |
void |
ConstructorResultColumnProcessor.performDiscovery(org.hibernate.loader.custom.JdbcResultMetadata metadata,
List<Type> types,
List<String> aliases) |
Constructor and Description |
---|
ScalarResultColumnProcessor(String alias,
Type type) |
ScalarReturn(Type type,
String columnAlias) |
Modifier and Type | Field and Description |
---|---|
protected Type |
AbstractEntityLoader.uniqueKeyType |
Constructor and Description |
---|
AbstractEntityLoader(OuterJoinLoadable persister,
Type uniqueKeyType,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
EntityLoader(OuterJoinLoadable persister,
String[] uniqueKey,
Type uniqueKeyType,
int batchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
EntityLoader(OuterJoinLoadable persister,
String[] uniqueKey,
Type uniqueKeyType,
int batchSize,
LockOptions lockOptions,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
Modifier and Type | Method and Description |
---|---|
EntityLoader |
EntityLoader.Builder.byUniqueKey(String[] keyColumnNames,
Type keyType) |
List |
AbstractLoadPlanBasedEntityLoader.loadEntityBatch(SharedSessionContractImplementor session,
Serializable[] ids,
Type idType,
Object optionalObject,
String optionalEntityName,
Serializable optionalId,
EntityPersister persister,
LockOptions lockOptions)
Called by wrappers that batch load entities
|
Constructor and Description |
---|
AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister,
SessionFactoryImplementor factory,
EntityLoadQueryDetails entityLoaderQueryDetailsTemplate,
Type uniqueKeyType,
QueryBuildingParameters buildingParameters) |
AbstractLoadPlanBasedEntityLoader(OuterJoinLoadable entityPersister,
SessionFactoryImplementor factory,
String[] uniqueKeyColumnNames,
Type uniqueKeyType,
QueryBuildingParameters buildingParameters) |
Modifier and Type | Method and Description |
---|---|
Type |
NestedCompositeAttributeFetchImpl.getFetchedType() |
Type |
CompositeAttributeFetchImpl.getFetchedType() |
Type |
AbstractCompositeEntityIdentifierDescription.getFetchedType() |
Type |
ScalarReturnImpl.getType() |
Constructor and Description |
---|
ScalarReturnImpl(String name,
Type type) |
Modifier and Type | Method and Description |
---|---|
Type |
JoinImpl.getJoinedPropertyType() |
Type |
CompositePropertyMapping.toType(String propertyName) |
Constructor and Description |
---|
JoinImpl(QuerySpace leftHandSide,
String lhsPropertyName,
QuerySpace rightHandSide,
String[] rhsColumnNames,
Type joinedPropertyType,
boolean rightHandSideRequired) |
Modifier and Type | Method and Description |
---|---|
Type |
Fetch.getFetchedType()
Get the Hibernate Type that describes the fetched attribute
|
Type |
JoinDefinedByMetadata.getJoinedPropertyType()
Get the property type of the joined property.
|
Type |
ScalarReturn.getType()
Gets the type of the scalar return.
|
Modifier and Type | Method and Description |
---|---|
Type |
Value.getType() |
abstract Type |
ToOne.getType() |
Type |
SimpleValue.getType() |
Type |
Property.getType() |
Type |
OneToOne.getType() |
Type |
OneToMany.getType() |
Type |
ManyToOne.getType() |
Type |
DependantValue.getType() |
Type |
Component.getType() |
Type |
Collection.getType() |
Type |
Any.getType() |
Modifier and Type | Method and Description |
---|---|
Type |
CollectionMetadata.getElementType()
The collection element type
|
Type |
ClassMetadata.getIdentifierType()
Get the identifier Hibernate type
|
Type |
CollectionMetadata.getIndexType()
The collection index type (or null if the collection has no index)
|
Type |
CollectionMetadata.getKeyType()
The collection key type
|
Type |
ClassMetadata.getPropertyType(String propertyName)
Get the type of a particular (named) property
|
Type[] |
ClassMetadata.getPropertyTypes()
Get the Hibernate types of the class properties
|
Modifier and Type | Method and Description |
---|---|
Type |
Helper.AttributeSource.findType(String attributeName) |
Type |
Helper.EntityPersisterAttributeSource.findType(String attributeName) |
Type |
Helper.ComponentAttributeSource.findType(String attributeName) |
Type |
Helper.resolveType(Attribute attribute) |
static Type |
Helper.resolveType(SessionFactoryImplementor sessionFactory,
Attribute attribute) |
Modifier and Type | Method and Description |
---|---|
Type |
VersionTypeSeedParameterSpecification.getExpectedType() |
Type |
ParameterSpecification.getExpectedType()
Get the type which we are expeting for a bind into this parameter based
on translated contextual information.
|
Type |
DynamicFilterParameterSpecification.getExpectedType() |
Type |
CollectionFilterKeyParameterSpecification.getExpectedType() |
Type |
AbstractExplicitParameterSpecification.getExpectedType() |
Modifier and Type | Method and Description |
---|---|
void |
VersionTypeSeedParameterSpecification.setExpectedType(Type expectedType) |
void |
ParameterSpecification.setExpectedType(Type expectedType)
Injects the expected type.
|
void |
DynamicFilterParameterSpecification.setExpectedType(Type expectedType) |
void |
CollectionFilterKeyParameterSpecification.setExpectedType(Type expectedType) |
void |
AbstractExplicitParameterSpecification.setExpectedType(Type expectedType) |
Constructor and Description |
---|
CollectionFilterKeyParameterSpecification(String collectionRole,
Type keyType)
Creates a specialized collection-filter collection-key parameter spec.
|
DynamicFilterParameterSpecification(String filterName,
String parameterName,
Type definedParameterType)
Constructs a parameter specification for a particular filter parameter.
|
Modifier and Type | Field and Description |
---|---|
protected Type |
AbstractCollectionPersister.elementType |
Modifier and Type | Method and Description |
---|---|
Type |
CollectionPersister.getElementType()
Get the "element" type
|
Type |
AbstractCollectionPersister.getElementType() |
Type |
CollectionPersister.getIdentifierType()
Get the type of the surrogate key
|
Type |
AbstractCollectionPersister.getIdentifierType() |
Type |
CollectionPersister.getIndexType()
Get the "index" type for a list or map (optional operation)
|
Type |
AbstractCollectionPersister.getIndexType() |
Type |
CollectionPersister.getKeyType()
Get the "key" type (the type of the foreign key)
|
Type |
AbstractCollectionPersister.getKeyType() |
Type |
ElementPropertyMapping.getType() |
Type |
CompositeElementPropertyMapping.getType() |
Type |
CollectionPropertyMapping.getType() |
Type |
AbstractCollectionPersister.getType() |
Type |
ElementPropertyMapping.toType(String propertyName) |
Type |
CollectionPropertyMapping.toType(String propertyName) |
Type |
AbstractCollectionPersister.toType(String propertyName) |
Constructor and Description |
---|
ElementPropertyMapping(String[] elementColumns,
Type type) |
Modifier and Type | Class and Description |
---|---|
class |
DiscriminatorType
TODO : javadoc
|
Modifier and Type | Method and Description |
---|---|
Type |
UnionSubclassEntityPersister.getDiscriminatorType() |
Type |
SingleTableEntityPersister.getDiscriminatorType() |
Type |
Loadable.getDiscriminatorType()
Get the discriminator type
|
Type |
JoinedSubclassEntityPersister.getDiscriminatorType() |
Type |
EntityPersister.getIdentifierType()
Get the identifier type
|
Type |
AbstractEntityPersister.getIdentifierType() |
Type |
EntityPersister.getPropertyType(String propertyName)
Get the type of a particular property by name.
|
Type |
AbstractEntityPersister.getPropertyType(String propertyName)
Get the type of a particular property by name.
|
Type[] |
EntityPersister.getPropertyTypes()
Get the Hibernate types of the class properties
|
Type[] |
AbstractEntityPersister.getPropertyTypes() |
Type |
DiscriminatorMetadata.getResolutionType()
Get the type used to resolve the actual discriminator value resulting from
DiscriminatorMetadata.getSqlFragment(java.lang.String) back into a Class reference. |
Type |
OuterJoinLoadable.getSubclassPropertyType(int i)
Get the type of the numbered property of the class or a subclass.
|
Type |
AbstractEntityPersister.getSubclassPropertyType(int i) |
protected Type[] |
AbstractEntityPersister.getSubclassPropertyTypeClosure() |
Type |
SQLLoadable.getType()
Get the type
|
Type |
PropertyMapping.getType()
Get the type of the thing containing the properties
|
Type |
BasicEntityPropertyMapping.getType() |
Type |
AbstractEntityPersister.getType() |
Type |
PropertyMapping.toType(String propertyName)
Given a component path expression, get the type of the property
|
Type |
AbstractPropertyMapping.toType(String propertyName) |
Type |
AbstractEntityPersister.toType(String propertyName)
Given a component path expression, get the type of the property
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractPropertyMapping.addPropertyPath(String path,
Type type,
String[] columns,
String[] columnReaders,
String[] columnReaderTemplates,
String[] formulaTemplates)
|
protected void |
AbstractPropertyMapping.addPropertyPath(String path,
Type type,
String[] columns,
String[] columnReaders,
String[] columnReaderTemplates,
String[] formulaTemplates,
Mapping factory) |
protected void |
AbstractPropertyMapping.initPropertyPaths(String path,
Type type,
String[] columns,
String[] columnReaders,
String[] columnReaderTemplates,
String[] formulaTemplates,
Mapping factory) |
Constructor and Description |
---|
DiscriminatorType(Type underlyingType,
Loadable persister) |
Modifier and Type | Method and Description |
---|---|
Type |
StandardAnyTypeDefinition.getDiscriminatorType() |
Type |
StandardAnyTypeDefinition.getIdentifierType() |
Modifier and Type | Method and 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 |
CollectionIndexDefinition.getType()
Returns the collection index type.
|
Type |
CollectionElementDefinition.getType()
Returns the collection element type.
|
Type |
AttributeDefinition.getType() |
Modifier and Type | Method and Description |
---|---|
static String |
MessageHelper.infoString(EntityPersister persister,
Object id,
Type identifierType,
SessionFactoryImplementor factory)
Generate an info message string relating to a particular entity,.
|
Modifier and Type | Method and Description |
---|---|
void |
ParameterRegistration.setHibernateType(Type type)
Set the Hibernate mapping type for this parameter.
|
Modifier and Type | Method and Description |
---|---|
Type |
ParameterBindImpl.getBindType() |
Type |
ProcedureCallMementoImpl.ParameterMemento.getHibernateType() |
Type[] |
ProcedureCallImpl.getReturnTypes() |
Modifier and Type | Method and Description |
---|---|
void |
ParameterBindImpl.setBindValue(T value,
Type clarifiedType) |
ProcedureCallImplementor<R> |
ProcedureCallImpl.setParameter(int position,
Object value,
Type type) |
<P> ProcedureCallImplementor<R> |
ProcedureCallImpl.setParameter(QueryParameter<P> parameter,
P value,
Type type) |
ProcedureCallImplementor<R> |
ProcedureCallImpl.setParameter(String name,
Object value,
Type type) |
Constructor and Description |
---|
ParameterMemento(int position,
String name,
ParameterMode mode,
Class type,
Type hibernateType,
boolean passNulls)
Create the memento
|
Modifier and Type | Method and Description |
---|---|
Type |
ParameterRegistrationImplementor.getHibernateType()
Access to the Hibernate type for this parameter registration
|
Modifier and Type | Method and Description |
---|---|
Type |
QueryParameter.getHibernateType()
Get the Hibernate Type associated with this parameter.
|
Modifier and Type | Method and Description |
---|---|
NativeQuery<T> |
NativeQuery.addScalar(String columnAlias,
Type type) |
Query<R> |
Query.setParameter(int position,
Object val,
Type type) |
NativeQuery<T> |
NativeQuery.setParameter(int position,
Object val,
Type type) |
<P> Query<R> |
Query.setParameter(QueryParameter<P> parameter,
P val,
Type type) |
<P> NativeQuery<T> |
NativeQuery.setParameter(QueryParameter<P> parameter,
P val,
Type type) |
Query<R> |
Query.setParameter(String name,
Object val,
Type type) |
NativeQuery<T> |
NativeQuery.setParameter(String name,
Object val,
Type type) |
Query<R> |
Query.setParameterList(String name,
Collection values,
Type type) |
NativeQuery<T> |
NativeQuery.setParameterList(String name,
Collection values,
Type type) |
Query<R> |
Query.setParameterList(String name,
Object[] values,
Type type) |
NativeQuery<T> |
NativeQuery.setParameterList(String name,
Object[] values,
Type type) |
default Query<R> |
Query.setParameters(Object[] values,
Type[] types)
Deprecated.
(since 5.2) Bind values individually
|
Modifier and Type | Method and Description |
---|---|
Type |
CriteriaQueryTypeQueryAdapter.determineProperBooleanType(int position,
Object value,
Type defaultType) |
Type |
CriteriaQueryTypeQueryAdapter.determineProperBooleanType(String name,
Object value,
Type defaultType) |
Type[] |
CriteriaQueryTypeQueryAdapter.getReturnTypes() |
Modifier and Type | Method and Description |
---|---|
Type |
CriteriaQueryTypeQueryAdapter.determineProperBooleanType(int position,
Object value,
Type defaultType) |
Type |
CriteriaQueryTypeQueryAdapter.determineProperBooleanType(String name,
Object value,
Type defaultType) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(int position,
Object val,
Type type) |
<P> QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(QueryParameter<P> parameter,
P value,
Type type) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameter(String name,
Object val,
Type type) |
Query<X> |
CriteriaQueryTypeQueryAdapter.setParameterList(int position,
Collection values,
Type type) |
Query<X> |
CriteriaQueryTypeQueryAdapter.setParameterList(int position,
Object[] values,
Type type) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameterList(String name,
Collection values,
Type type) |
QueryImplementor<X> |
CriteriaQueryTypeQueryAdapter.setParameterList(String name,
Object[] values,
Type type) |
Modifier and Type | Method and Description |
---|---|
Type[] |
QueryParameterBindingsImpl.collectPositionalBindTypes()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
Type |
AbstractProducedQuery.determineProperBooleanType(int position,
Object value,
Type defaultType) |
Type |
AbstractProducedQuery.determineProperBooleanType(String name,
Object value,
Type defaultType) |
protected Type |
AbstractProducedQuery.determineType(String namedParam,
Class retType) |
Type |
QueryParameterListBindingImpl.getBindType() |
Type |
QueryParameterBindingImpl.getBindType() |
Type |
QueryParameterImpl.getHibernateType() |
Type |
ParameterMetadataImpl.getNamedParameterExpectedType(String name)
Deprecated.
Use
AbstractParameterDescriptor.getExpectedType() from the
ParameterMetadataImpl.getNamedParameterDescriptor(java.lang.String) return instead |
Type |
ParameterMetadataImpl.getOrdinalParameterExpectedType(int position)
Deprecated.
Use
AbstractParameterDescriptor.getExpectedType() from the
ParameterMetadataImpl.getOrdinalParameterDescriptor(int) return instead |
protected Type[] |
CollectionFilterImpl.getPositionalParameterTypes() |
protected Type[] |
AbstractProducedQuery.getPositionalParameterTypes() |
Type[] |
QueryImpl.getReturnTypes() |
Type[] |
NativeQueryImpl.getReturnTypes() |
Type[] |
CollectionFilterImpl.getReturnTypes() |
Modifier and Type | Method and Description |
---|---|
Collection<Type> |
QueryParameterBindingsImpl.collectBindTypes()
Deprecated.
(since 5.2) expect a different approach to org.hibernate.engine.spi.QueryParameters in 6.0
|
Modifier and Type | Method and Description |
---|---|
NativeQueryImplementor<T> |
NativeQueryImpl.addScalar(String columnAlias,
Type type) |
Type |
AbstractProducedQuery.determineProperBooleanType(int position,
Object value,
Type defaultType) |
Type |
AbstractProducedQuery.determineProperBooleanType(String name,
Object value,
Type defaultType) |
BasicType |
BindingTypeHelper.determineTypeForTemporalType(TemporalType temporalType,
Type baseType,
Object bindValue) |
protected QueryParameterBinding |
QueryParameterBindingsImpl.makeBinding(Type bindType) |
BasicType |
BindingTypeHelper.resolveDateTemporalTypeVariant(Class javaType,
Type baseType) |
BasicType |
BindingTypeHelper.resolveTimestampTemporalTypeVariant(Class javaType,
Type baseType) |
BasicType |
BindingTypeHelper.resolveTimeTemporalTypeVariant(Class javaType,
Type baseType) |
void |
QueryParameterBindingImpl.setBindValue(T value,
Type clarifiedType) |
void |
QueryParameterListBindingImpl.setBindValues(Collection<T> values,
Type clarifiedType) |
void |
QueryParameterImpl.setHibernateType(Type expectedType) |
NativeQueryImplementor<T> |
NativeQueryImpl.setParameter(int position,
Object value,
Type type) |
QueryImplementor |
AbstractProducedQuery.setParameter(int position,
Object value,
Type type) |
<P> QueryImplementor |
AbstractProducedQuery.setParameter(QueryParameter<P> parameter,
P value,
Type type) |
NativeQueryImplementor<T> |
NativeQueryImpl.setParameter(QueryParameter parameter,
Object value,
Type type) |
NativeQueryImplementor<T> |
NativeQueryImpl.setParameter(String name,
Object value,
Type type) |
QueryImplementor |
AbstractProducedQuery.setParameter(String name,
Object value,
Type type) |
QueryImplementor |
AbstractProducedQuery.setParameterList(int position,
Collection values,
Type type) |
QueryImplementor |
AbstractProducedQuery.setParameterList(int position,
Object[] values,
Type type) |
NativeQueryImplementor<T> |
NativeQueryImpl.setParameterList(String name,
Collection values,
Type type) |
QueryImplementor |
AbstractProducedQuery.setParameterList(String name,
Collection values,
Type type) |
NativeQueryImplementor<T> |
NativeQueryImpl.setParameterList(String name,
Object[] values,
Type type) |
QueryImplementor |
AbstractProducedQuery.setParameterList(String name,
Object[] values,
Type type) |
Constructor and Description |
---|
QueryParameterBindingImpl(Type type,
QueryParameterBindingTypeResolver typeResolver,
boolean isBindingValidationRequired) |
QueryParameterImpl(Type expectedType) |
QueryParameterListBindingImpl(Type type,
boolean isBindingValidationRequired) |
QueryParameterNamedImpl(String name,
int[] sourceLocations,
Type expectedType) |
Modifier and Type | Method and Description |
---|---|
Type[] |
ProcedureParamBindings.collectPositionalBindTypes() |
Modifier and Type | Method and Description |
---|---|
void |
ProcedureParameterImpl.setHibernateType(Type expectedType) |
Constructor and Description |
---|
ProcedureParameterImpl(ProcedureCallImpl procedureCall,
Integer position,
ParameterMode mode,
Class<T> javaType,
Type hibernateType,
boolean initialPassNullsSetting) |
ProcedureParameterImpl(ProcedureCallImpl procedureCall,
String name,
ParameterMode mode,
Class<T> javaType,
Type hibernateType,
boolean initialPassNullsSetting) |
Modifier and Type | Method and Description |
---|---|
Type[] |
QueryParameterBindings.collectPositionalBindTypes() |
Type |
QueryParameterListBinding.getBindType()
Get the Type currently associated with this binding.
|
Type |
QueryParameterBinding.getBindType()
Get the Type currently associated with this binding.
|
Type |
QueryParameterBindingTypeResolver.resolveParameterBindType(Class clazz) |
Type |
QueryParameterBindingTypeResolver.resolveParameterBindType(Object bindValue) |
Modifier and Type | Method and Description |
---|---|
NativeQueryImplementor<T> |
NativeQueryImplementor.addScalar(String columnAlias,
Type type) |
void |
QueryParameterBinding.setBindValue(T value,
Type clarifiedType)
Sets the parameter binding value using the explicit Type.
|
void |
QueryParameterListBinding.setBindValues(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,
Object val,
Type type) |
<P> NativeQueryImplementor<T> |
NativeQueryImplementor.setParameter(QueryParameter<P> parameter,
P val,
Type type) |
NativeQueryImplementor<T> |
NativeQueryImplementor.setParameter(String name,
Object val,
Type type) |
NativeQueryImplementor<T> |
NativeQueryImplementor.setParameterList(String name,
Collection values,
Type type) |
NativeQueryImplementor<T> |
NativeQueryImplementor.setParameterList(String name,
Object[] values,
Type type) |
<P> void |
QueryParameterBindingValidator.validate(Type paramType,
Object bind) |
<P> void |
QueryParameterBindingValidator.validate(Type paramType,
Object bind,
TemporalType temporalType) |
Modifier and Type | Method and Description |
---|---|
Type[] |
FullTextQueryImpl.getReturnTypes()
Deprecated.
|
Type |
ScrollableResultsImpl.getType(int i)
This method is not supported on Lucene based queries
|
Modifier and Type | Method and Description |
---|---|
Type[] |
CacheableResultTransformer.getCachedResultTypes(Type[] tupleResultTypes) |
Modifier and Type | Method and Description |
---|---|
Type[] |
CacheableResultTransformer.getCachedResultTypes(Type[] tupleResultTypes) |
Modifier and Type | Method and Description |
---|---|
Type |
Attribute.getType() |
Type |
AbstractAttribute.getType() |
Constructor and Description |
---|
AbstractAttribute(String attributeName,
Type attributeType) |
AbstractNonIdentifierAttribute(AttributeSource source,
SessionFactoryImplementor sessionFactory,
int attributeNumber,
String attributeName,
Type attributeType,
BaselineAttributeInformation attributeInformation) |
IdentifierProperty(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(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.
|
Constructor and Description |
---|
CompositeBasedBasicAttribute(AttributeSource source,
SessionFactoryImplementor sessionFactory,
int attributeNumber,
String attributeName,
Type attributeType,
BaselineAttributeInformation baselineInfo) |
Modifier and Type | Method and Description |
---|---|
Type |
AbstractEntityTuplizer.getIdentifierMapperType() |
Type[] |
EntityMetamodel.getPropertyTypes() |
Constructor and Description |
---|
AbstractEntityBasedAttribute(EntityPersister source,
SessionFactoryImplementor sessionFactory,
int attributeNumber,
String attributeName,
Type attributeType,
BaselineAttributeInformation attributeInformation) |
EntityBasedBasicAttribute(EntityPersister source,
SessionFactoryImplementor factory,
int attributeNumber,
String attributeName,
Type attributeType,
BaselineAttributeInformation baselineInfo) |
VersionProperty(EntityPersister source,
SessionFactoryImplementor sessionFactory,
int attributeNumber,
String attributeName,
Type attributeType,
BaselineAttributeInformation attributeInformation,
VersionValue unsavedValue)
Constructs VersionProperty instances.
|
Modifier and Type | Interface and 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 a
Type may be used for a discriminator. |
interface |
IdentifierType<T>
Additional contract for a
Type may be used for a discriminator. |
interface |
SingleColumnType<T>
Provide convenient methods for binding and extracting values for use with
BasicType . |
interface |
VersionType<T>
Additional contract for types which may be used to version (and optimistic lock) data.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractSingleColumnStandardBasicType<T>
TODO : javadoc
|
class |
AbstractStandardBasicType<T>
Convenience base class for
BasicType implementations |
class |
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" mappings
|
class |
ArrayType
A type for persistent arrays.
|
class |
BagType |
class |
BigDecimalType
A type that maps between a
NUMERIC and BigDecimal . |
class |
BigIntegerType
A type that maps between a
NUMERIC and BigInteger . |
class |
BinaryType
A type that maps between a
VARBINARY and byte[]
Implementation of the VersionType interface should be considered deprecated. |
class |
BlobType
|
class |
BooleanType
|
class |
ByteType
|
class |
CalendarDateType
|
class |
CalendarTimeType
|
class |
CalendarType
|
class |
CharacterArrayClobType
A type that maps between
CLOB and Character[]
Essentially a MaterializedClobType but represented as a Character[] in Java rather than String. |
class |
CharacterArrayNClobType
A type that maps between
NCLOB and Character[]
Essentially a MaterializedNClobType but represented as a Character[] in Java rather than String. |
class |
CharacterArrayType
A type that maps between
VARCHAR and Character[] |
class |
CharacterNCharType
|
class |
CharacterType
|
class |
CharArrayType
A type that maps between
VARCHAR and char[] |
class |
ClassType
|
class |
ClobType
|
class |
CollectionType
A type that handles Hibernate PersistentCollections (including arrays).
|
class |
ComponentType
Handles "component" mappings
|
class |
CompositeCustomType
Adapts
CompositeUserType to the Type interface |
class |
CurrencyType
|
class |
CustomCollectionType
A custom type for mapping user-written classes that implement PersistentCollection
|
class |
CustomType
|
class |
DateType
|
class |
DbTimestampType
dbtimestamp: An extension of
TimestampType which
maps to the database's current timestamp, rather than the jvm's
current timestamp. |
class |
DoubleType
|
class |
DurationType |
class |
EmbeddedComponentType |
class |
EntityType
Base for types which map associations to persistent entities.
|
class |
FloatType
|
class |
IdentifierBagType |
class |
ImageType
A type that maps between
LONGVARBINARY and byte[] |
class |
InstantType
A type that maps between
TIMESTAMP and LocalDateTime . |
class |
IntegerType
A type that maps between
INTEGER and @link Integer} |
class |
ListType |
class |
LocalDateTimeType
A type that maps between
TIMESTAMP and LocalDateTime . |
class |
LocalDateType |
class |
LocaleType
A type that maps between
VARCHAR and @link Locale} |
class |
LocalTimeType
A type that maps between
TIMESTAMP and LocalDateTime . |
class |
LongType
|
class |
ManyToOneType
A many-to-one association to an entity.
|
class |
MapType |
class |
MaterializedBlobType
A type that maps between
BLOB and byte[] |
class |
MaterializedClobType
|
class |
MaterializedNClobType
|
class |
MetaType |
class |
NClobType
|
class |
NTextType
A type that maps between
LONGNVARCHAR and String |
class |
NumericBooleanType
|
class |
ObjectType
Specific adaptation of the "any" type to the old deprecated "object" type
|
class |
OffsetDateTimeType |
class |
OffsetTimeType |
class |
OneToOneType
A one-to-one association to an entity
|
class |
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 for
UUID and the Postgres UUID data type (which is mapped as OTHER in its
JDBC driver). |
class |
PrimitiveCharacterArrayClobType
Map a char[] to a Clob
|
class |
PrimitiveCharacterArrayNClobType
Map a char[] to a NClob
|
class |
RowVersionType
A type that maps between a
VARBINARY and byte[]
specifically for entity versions/timestamps. |
class |
SerializableToBlobType<T extends Serializable> |
class |
SerializableType<T extends Serializable>
A type that maps between a
VARBINARY and Serializable classes. |
class |
SetType |
class |
ShortType
|
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
|
class |
StringType
|
class |
TextType
A type that maps between
LONGVARCHAR and String |
class |
TimestampType
|
class |
TimeType
|
class |
TimeZoneType
|
class |
TrueFalseType
|
class |
UrlType
|
class |
UUIDBinaryType
A type mapping
Types.BINARY and UUID |
class |
UUIDCharType
|
class |
WrappedMaterializedBlobType
A type that maps JDBC
BLOB and Byte[] . |
class |
WrapperBinaryType
|
class |
YesNoType
|
class |
ZonedDateTimeType |
Modifier and Type | Method and Description |
---|---|
Type |
TypeFactory.any(Type metaType,
Type identifierType)
Deprecated.
|
Type |
TypeFactory.byClass(Class clazz,
Properties parameters)
Deprecated.
|
Type |
AnyType.getDiscriminatorType() |
Type |
CollectionType.getElementType(SessionFactoryImplementor factory)
Get the Hibernate type of the collection elements
|
Type |
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 |
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 |
EntityType.getSemiResolvedType(SessionFactoryImplementor factory) |
Type |
AbstractType.getSemiResolvedType(SessionFactoryImplementor factory) |
Type |
AbstractStandardBasicType.getSemiResolvedType(SessionFactoryImplementor factory) |
Type[] |
CompositeType.getSubtypes()
Get the types of the component properties
|
Type[] |
CompositeCustomType.getSubtypes() |
Type[] |
ComponentType.getSubtypes() |
Type[] |
AnyType.getSubtypes() |
Type |
TypeResolver.heuristicType(String typeName)
Deprecated.
|
Type |
TypeResolver.heuristicType(String typeName,
Properties parameters)
Deprecated.
Uses heuristics to deduce the proper
Type given a string naming the type or Java class. |
protected Type |
EntityType.requireIdentifierOrUniqueKeyType(Mapping mapping) |
Type |
TypeFactory.type(Class<Type> typeClass,
Properties parameters)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Type |
TypeFactory.type(Class<Type> typeClass,
Properties parameters)
Deprecated.
|
Constructor and Description |
---|
AnyType(TypeFactory.TypeScope scope,
Type discriminatorType,
Type identifierType) |
AnyType(Type discriminatorType,
Type identifierType)
Intended for use only from legacy
ObjectType type definition |
MetaType(Map<Object,String> discriminatorValuesToEntityNameMap,
Type baseType) |
Modifier and Type | Class and Description |
---|---|
class |
AttributeConverterTypeAdapter<T>
Adapts the Hibernate Type contract to incorporate JPA AttributeConverter calls.
|
Modifier and Type | Method and Description |
---|---|
Type[] |
CompositeUserType.getPropertyTypes()
Get the corresponding "property types".
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.