Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.boot.internal | |
org.hibernate.boot.spi | |
org.hibernate.cache.infinispan |
Defines the integration with Infinispan as a second-level cache service.
|
org.hibernate.cache.internal |
Internal implementations and support for second-level caching.
|
org.hibernate.cache.spi |
Defines the Hibernate second level caching SPI.
|
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.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.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 |
Defines Hibernate implementation of Java Persistence specification.
|
org.hibernate.jpa.internal.metamodel | |
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.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.spatial |
This package defines the central Hibernate Spatial APIs.
|
org.hibernate.spatial.dialect.oracle.criterion |
A criterion API for Oracle Spatial (10g and later) using SDOGeometry.
|
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 |
TypeHelper.entity(Class entityClass)
Retrieve a type representing the given entity.
|
Type |
TypeHelper.entity(String entityName)
Retrieve a type representing the given entity.
|
Type[] |
BasicQueryContract.getReturnTypes()
Return the Hibernate types of the query results.
|
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 |
SQLQuery.addScalar(String columnAlias,
Type type)
Declare a scalar query result.
|
Type |
TypeHelper.any(Type metaType,
Type identifierType)
Retrieve the type representing an ANY mapping.
|
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) |
Query |
Query.setParameter(int position,
Object val,
Type type)
Bind a value to a JDBC-style query parameter.
|
Query |
Query.setParameter(String name,
Object val,
Type type)
Bind a value to a named query parameter.
|
Query |
Query.setParameterList(String name,
Collection values,
Type type)
Bind multiple values to a named query parameter.
|
Query |
Query.setParameterList(String name,
Object[] values,
Type type)
Bind multiple values to a named query parameter.
|
Query |
Query.setParameters(Object[] values,
Type[] types)
Bind values and types to positional parameters.
|
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) |
Constructor and Description |
---|
TypeEquivalance(Type type) |
Modifier and Type | Method and Description |
---|---|
Type |
CacheDataDescriptionImpl.getKeyType() |
Modifier and Type | Method and Description |
---|---|
List |
StandardQueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SessionImplementor session) |
boolean |
StandardQueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SessionImplementor session) |
Constructor and Description |
---|
CacheDataDescriptionImpl(boolean mutable,
boolean versioned,
Comparator versionComparator,
Type keyType)
Constructs a CacheDataDescriptionImpl instance.
|
NaturalIdCacheKey(Object[] naturalIdValues,
Type[] propertyTypes,
int[] naturalIdPropertyIndexes,
String entityName,
SessionImplementor session)
Construct a new key for a caching natural identifier resolutions into the second level cache.
|
Modifier and Type | Method and Description |
---|---|
Type |
CacheDataDescription.getKeyType() |
Modifier and Type | Method and Description |
---|---|
List |
QueryCache.get(QueryKey key,
Type[] returnTypes,
boolean isNaturalKeyLookup,
Set<Serializable> spaces,
SessionImplementor session)
Get results from the cache.
|
boolean |
QueryCache.put(QueryKey key,
Type[] returnTypes,
List result,
boolean isNaturalKeyLookup,
SessionImplementor session)
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 |
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 |
PersistentList.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 |
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) |
boolean |
PersistentList.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[] |
PropertyProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
RowCountProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
ProjectionList.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
IdentifierProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Distinct.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AggregateProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AliasedProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Projection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery)
Types returned by the rendered SQL
fragment . |
Type[] |
SQLProjection.getTypes(String alias,
Criteria crit,
CriteriaQuery criteriaQuery) |
Type[] |
SimpleProjection.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
ProjectionList.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
Distinct.getTypes(String alias,
Criteria criteria,
CriteriaQuery criteriaQuery) |
Type[] |
AliasedProjection.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 |
CriteriaQuery.getTypeUsingProjection(Criteria criteria,
String propertyPath)
Get the type of a property path.
|
Modifier and Type | Method and Description |
---|---|
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 |
AbstractAnsiTrimEmulationFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
NvlFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
CastFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
DerbyConcatFunction.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
StandardSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
TrimFunctionTemplate.getReturnType(Type firstArgument,
Mapping mapping) |
Type |
SQLFunctionTemplate.getReturnType(Type argumentType,
Mapping mapping) |
Type |
ConvertFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
StandardAnsiSqlAggregationFunctions.SumFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
SQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
VarArgsSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
CharIndexFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
NoArgSQLFunction.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 |
AbstractAnsiTrimEmulationFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
NvlFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
CastFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
DerbyConcatFunction.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
StandardSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
TrimFunctionTemplate.getReturnType(Type firstArgument,
Mapping mapping) |
Type |
SQLFunctionTemplate.getReturnType(Type argumentType,
Mapping mapping) |
Type |
ConvertFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
StandardAnsiSqlAggregationFunctions.SumFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
SQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
VarArgsSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
CharIndexFunction.getReturnType(Type columnType,
Mapping mapping) |
Type |
NoArgSQLFunction.getReturnType(Type argumentType,
Mapping mapping) |
String |
AbstractAnsiTrimEmulationFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
PositionSubstringFunction.render(Type firstArgumentType,
List args,
SessionFactoryImplementor factory) |
String |
StaticPrecisionFspTimestampFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
NvlFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
CastFunction.render(Type columnType,
List args,
SessionFactoryImplementor factory) |
String |
DerbyConcatFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
StandardSQLFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor sessionFactory) |
String |
TrimFunctionTemplate.render(Type firstArgument,
List args,
SessionFactoryImplementor factory) |
String |
SQLFunctionTemplate.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
ConvertFunction.render(Type firstArgumentType,
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 |
SQLFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory)
Render the function call as SQL fragment.
|
String |
ConditionalParenthesisFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor sessionFactory) |
String |
VarArgsSQLFunction.render(Type firstArgumentType,
List arguments,
SessionFactoryImplementor factory) |
String |
CharIndexFunction.render(Type columnType,
List args,
SessionFactoryImplementor factory) |
String |
NoArgSQLFunction.render(Type argumentType,
List args,
SessionFactoryImplementor factory) |
String |
StandardJDBCEscapeFunction.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 |
OrdinalParameterDescriptor.getExpectedType() |
Type |
NamedParameterDescriptor.getExpectedType() |
Type |
ParameterMetadata.getNamedParameterExpectedType(String name)
Deprecated.
Use
NamedParameterDescriptor.getExpectedType() from the
ParameterMetadata.getNamedParameterDescriptor(java.lang.String) return instead |
Type |
ParameterMetadata.getOrdinalParameterExpectedType(int position)
Deprecated.
Use
OrdinalParameterDescriptor.getExpectedType() from the
ParameterMetadata.getOrdinalParameterDescriptor(int) return instead |
Type[] |
ReturnMetadata.getReturnTypes() |
Modifier and Type | Method and Description |
---|---|
void |
NamedParameterDescriptor.resetExpectedType(Type type)
Set the parameters expected type
|
Constructor and Description |
---|
NamedParameterDescriptor(String name,
Type expectedType,
int[] sourceLocations,
boolean jpaStyle)
Constructs a NamedParameterDescriptor
|
OrdinalParameterDescriptor(int ordinalPosition,
Type expectedType,
int sourceLocation)
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 |
Mapping.getIdentifierType(String className) |
Type |
SessionFactoryDelegatingImpl.getIdentifierType(String className) |
Type |
FilterDefinition.getParameterType(String parameterName)
Retrieve the type of the named parameter defined for this filter.
|
Type[] |
QueryParameters.getPositionalParameterTypes() |
Type |
Mapping.getReferencedPropertyType(String className,
String propertyName) |
Type |
SessionFactoryDelegatingImpl.getReferencedPropertyType(String className,
String propertyName) |
Type[] |
SessionFactoryImplementor.getReturnTypes(String queryString)
Get the return types of a query
|
Type[] |
SessionFactoryDelegatingImpl.getReturnTypes(String queryString) |
Type |
TypedValue.getType() |
Modifier and Type | Method and Description |
---|---|
Map<String,Type> |
FilterDefinition.getParameterTypes() |
Modifier and Type | Method and Description |
---|---|
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 |
---|---|
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 |
ParameterTranslationsImpl.ParameterInfo.getExpectedType() |
Type |
ParameterTranslationsImpl.getNamedParameterExpectedType(String name) |
Type |
ParameterTranslationsImpl.getOrdinalParameterExpectedType(int ordinalPosition) |
Type |
TypeDiscriminatorMetadata.getResolutionType()
Get the type used to resolve the actual discriminator value resulting from
TypeDiscriminatorMetadata.getSqlFragment() back into a Class reference. |
Type[] |
HqlSqlWalker.getReturnTypes() |
Type[] |
QueryTranslatorImpl.getReturnTypes()
Types of the return values of an iterate() style query.
|
Constructor and Description |
---|
ParameterInfo(int[] sqlPositions,
Type expectedType) |
ParameterInfo(int sqlPosition,
Type expectedType) |
Modifier and Type | Method and Description |
---|---|
protected Type |
BinaryLogicOperatorNode.extractDataType(Node operand) |
Type |
SelectExpression.getDataType()
Returns the data type of the select expression.
|
Type |
BinaryArithmeticOperatorNode.getDataType()
Figure out the type of the binary expression by looking at
the types of the operands.
|
Type |
BetweenOperatorNode.getDataType() |
Type |
FromElement.getDataType() |
Type |
BooleanLiteralNode.getDataType() |
Type |
ComponentJoin.getDataType() |
Type |
ComponentJoin.ComponentFromElementType.getDataType() |
Type |
QueryNode.getDataType() |
Type |
CountNode.getDataType() |
Type |
SimpleCaseNode.getDataType() |
Type |
UnaryLogicOperatorNode.getDataType() |
Type |
LiteralNode.getDataType() |
Type |
BinaryLogicOperatorNode.getDataType() |
Type |
OperatorNode.getDataType()
Retrieves the data type for the overall operator expression.
|
Type |
AggregateNode.getDataType() |
Type |
DotNode.getDataType() |
Type |
SearchedCaseNode.getDataType() |
Type |
UnaryArithmeticNode.getDataType() |
Type |
SqlNode.getDataType() |
Type |
ConstructorNode.getDataType()
Deprecated.
(tell clover to ignore this method)
|
Type |
IdentNode.getDataType() |
Type |
NullNode.getDataType() |
Type |
JavaConstantNode.getExpectedType() |
Type |
BooleanLiteralNode.getExpectedType() |
Type |
ExpectedTypeAwareNode.getExpectedType() |
Type |
LiteralNode.getExpectedType() |
Type |
ParameterNode.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 abstract Type |
AbstractMapComponentNode.resolveType(QueryableCollection collectionPersister) |
protected Type |
MapEntryNode.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 |
JavaConstantNode.setExpectedType(Type expectedType) |
void |
BooleanLiteralNode.setExpectedType(Type expectedType) |
void |
ExpectedTypeAwareNode.setExpectedType(Type expectedType) |
void |
LiteralNode.setExpectedType(Type expectedType) |
void |
ParameterNode.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) |
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) |
Modifier and Type | Method and Description |
---|---|
Type |
ParameterTranslations.getNamedParameterExpectedType(String name) |
Type |
ParameterTranslations.getOrdinalParameterExpectedType(int ordinalPosition) |
Type[] |
QueryTranslator.getReturnTypes()
Returns an array of Types represented in the query result.
|
Modifier and Type | Method and Description |
---|---|
protected Type |
SequenceGenerator.getIdentifierType()
Deprecated.
|
Type |
ExportableColumn.ValueImpl.getType() |
Modifier and Type | Method and Description |
---|---|
void |
SelectGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
SequenceGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Deprecated.
|
void |
Assigned.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
ForeignGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
SequenceIdentityGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Deprecated.
|
void |
IncrementGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
UUIDGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
MultipleHiLoPerTableGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Deprecated.
|
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 |
SequenceHiLoGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry)
Deprecated.
|
void |
UUIDHexGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
static Serializable |
IdentifierGeneratorHelper.get(ResultSet rs,
String identifier,
Type type)
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)
Get the generated identifier when using identity columns
|
Modifier and Type | Method and Description |
---|---|
Type |
SequenceStyleGenerator.getIdentifierType()
Getter for property 'identifierType'.
|
Type |
TableGenerator.getIdentifierType()
Type mapping for the identifier.
|
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.
|
void |
SequenceStyleGenerator.configure(Type type,
Properties params,
ServiceRegistry serviceRegistry) |
void |
TableGenerator.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) |
protected Type |
AbstractQueryImpl.determineType(int paramPosition,
Object paramValue) |
protected Type |
AbstractQueryImpl.determineType(int paramPosition,
Object paramValue,
Type defaultType) |
protected Type |
AbstractQueryImpl.determineType(String paramName,
Class clazz) |
protected Type |
AbstractQueryImpl.determineType(String paramName,
Object paramValue) |
protected Type |
AbstractQueryImpl.determineType(String paramName,
Object paramValue,
Type defaultType) |
Type |
TypeLocatorImpl.entity(Class entityClass) |
Type |
TypeLocatorImpl.entity(String entityName) |
Type |
SessionFactoryImpl.getIdentifierType(String className) |
Type |
SessionFactoryImpl.getReferencedPropertyType(String className,
String propertyName) |
Type[] |
AbstractQueryImpl.getReturnTypes() |
Type[] |
SQLQueryImpl.getReturnTypes() |
Type[] |
SessionFactoryImpl.getReturnTypes(String queryString) |
Type |
AbstractScrollableResults.getType(int i) |
protected Type[] |
AbstractScrollableResults.getTypes() |
Type |
AbstractQueryImpl.guessType(Class clazz) |
Type |
TypeLocatorImpl.heuristicType(String name) |
Type[] |
CollectionFilterImpl.typeArray() |
Type[] |
AbstractQueryImpl.typeArray() |
Modifier and Type | Method and Description |
---|---|
SQLQuery |
SQLQueryImpl.addScalar(String columnAlias,
Type type) |
Type |
TypeLocatorImpl.any(Type metaType,
Type identifierType) |
protected Type |
AbstractQueryImpl.determineType(int paramPosition,
Object paramValue,
Type defaultType) |
protected Type |
AbstractQueryImpl.determineType(String paramName,
Object paramValue,
Type defaultType) |
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.
|
Query |
AbstractQueryImpl.setParameter(int position,
Object val,
Type type) |
Query |
AbstractQueryImpl.setParameter(String name,
Object val,
Type type) |
Query |
AbstractQueryImpl.setParameterList(String name,
Collection vals,
Type type) |
Query |
AbstractQueryImpl.setParameterList(String name,
Object[] vals,
Type type) |
Query |
AbstractQueryImpl.setParameters(Object[] values,
Type[] types) |
void |
CoreMessageLogger.typeRegistrationOverridesPrevious(String key,
Type old) |
Constructor and Description |
---|
AbstractScrollableResults(ResultSet rs,
PreparedStatement ps,
SessionImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator) |
FetchingScrollableResultsImpl(ResultSet rs,
PreparedStatement ps,
SessionImplementor 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,
SessionImplementor 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 |
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 |
AbstractEntityManagerImpl.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(SessionImplementor 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(SessionImplementor session,
Serializable id,
Type type)
Called by subclasses that initialize collections
|
void |
Loader.loadCollectionBatch(SessionImplementor session,
Serializable[] ids,
Type type)
Called by wrappers that batch initialize collections
|
protected void |
Loader.loadCollectionSubselect(SessionImplementor session,
Serializable[] ids,
Object[] parameterValues,
Type[] parameterTypes,
Map<String,TypedValue> namedParameters,
Type type)
Called by subclasses that batch initialize collections
|
protected void |
Loader.loadCollectionSubselect(SessionImplementor session,
Serializable[] ids,
Object[] parameterValues,
Type[] parameterTypes,
Map<String,TypedValue> namedParameters,
Type type)
Called by subclasses that batch initialize collections
|
protected List |
Loader.loadEntity(SessionImplementor session,
Object key,
Object index,
Type keyType,
Type indexType,
EntityPersister persister)
Called by subclasses that load entities
|
protected List |
Loader.loadEntity(SessionImplementor session,
Object id,
Type identifierType,
Object optionalObject,
String optionalEntityName,
Serializable optionalIdentifier,
EntityPersister persister,
LockOptions lockOptions)
Called by subclasses that load entities
|
List |
Loader.loadEntityBatch(SessionImplementor 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(SessionImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryCache queryCache,
QueryKey key,
List result) |
protected ScrollableResults |
Loader.scroll(QueryParameters queryParameters,
Type[] returnTypes,
HolderInstantiator holderInstantiator,
SessionImplementor 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(SessionImplementor session,
QueryParameters queryParameters,
Type[] resultTypes,
QueryCache queryCache,
QueryKey key,
List result)
CustomLoader.resultTypes can be overridden by CustomLoader.autoDiscoverTypes(ResultSet) ,
*after* CustomLoader.list(SessionImplementor, QueryParameters) has already been called. |
Modifier and Type | Method and Description |
---|---|
void |
ConstructorResultColumnProcessor.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 |
ScalarResultColumnProcessor.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(SessionImplementor 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,
String[] uniqueKeyColumnNames,
Type uniqueKeyType,
QueryBuildingParameters buildingParameters) |
Modifier and Type | Method and Description |
---|---|
Type |
AbstractCompositeEntityIdentifierDescription.getFetchedType() |
Type |
NestedCompositeAttributeFetchImpl.getFetchedType() |
Type |
CompositeAttributeFetchImpl.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 |
Any.getType() |
Type |
Value.getType() |
Type |
Component.getType() |
Type |
Property.getType() |
Type |
Collection.getType() |
Type |
SimpleValue.getType() |
abstract Type |
ToOne.getType() |
Type |
DependantValue.getType() |
Type |
ManyToOne.getType() |
Type |
OneToOne.getType() |
Type |
OneToMany.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 |
DynamicFilterParameterSpecification.getExpectedType() |
Type |
ParameterSpecification.getExpectedType()
Get the type which we are expeting for a bind into this parameter based
on translated contextual information.
|
Type |
CollectionFilterKeyParameterSpecification.getExpectedType() |
Type |
VersionTypeSeedParameterSpecification.getExpectedType() |
Type |
AbstractExplicitParameterSpecification.getExpectedType() |
Modifier and Type | Method and Description |
---|---|
void |
DynamicFilterParameterSpecification.setExpectedType(Type expectedType) |
void |
ParameterSpecification.setExpectedType(Type expectedType)
Injects the expected type.
|
void |
CollectionFilterKeyParameterSpecification.setExpectedType(Type expectedType) |
void |
VersionTypeSeedParameterSpecification.setExpectedType(Type expectedType) |
void |
AbstractExplicitParameterSpecification.setExpectedType(Type expectedType) |
Constructor and Description |
---|
CollectionFilterKeyParameterSpecification(String collectionRole,
Type keyType,
int queryParameterPosition)
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 |
AbstractCollectionPersister.getElementType() |
Type |
CollectionPersister.getElementType()
Get the "element" type
|
Type |
AbstractCollectionPersister.getIdentifierType() |
Type |
CollectionPersister.getIdentifierType()
Get the type of the surrogate key
|
Type |
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(String propertyName) |
Type |
CollectionPropertyMapping.toType(String propertyName) |
Type |
ElementPropertyMapping.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 |
SingleTableEntityPersister.getDiscriminatorType() |
Type |
UnionSubclassEntityPersister.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 |
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 |
PropertyMapping.getType()
Get the type of the thing containing the properties
|
Type |
BasicEntityPropertyMapping.getType() |
Type |
SQLLoadable.getType()
Get the type
|
Type |
AbstractEntityPersister.getType() |
Type |
PropertyMapping.toType(String propertyName)
Given a component path expression, get the type of the property
|
Type |
AbstractEntityPersister.toType(String propertyName)
Given a component path expression, get the type of the property
|
Type |
AbstractPropertyMapping.toType(String propertyName) |
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.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 |
AttributeDefinition.getType() |
Type |
CollectionElementDefinition.getType()
Returns the collection element type.
|
Type |
CollectionIndexDefinition.getType()
Returns the collection index type.
|
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 |
ProcedureCallMementoImpl.ParameterMemento.getHibernateType() |
Type |
AbstractParameterRegistrationImpl.getHibernateType() |
Type[] |
ProcedureCallImpl.getReturnTypes() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractParameterRegistrationImpl.setHibernateType(Type type) |
Constructor and Description |
---|
AbstractParameterRegistrationImpl(ProcedureCallImpl procedureCall,
Integer position,
ParameterMode mode,
Class<T> type,
Type hibernateType) |
AbstractParameterRegistrationImpl(ProcedureCallImpl procedureCall,
String name,
ParameterMode mode,
Class<T> type,
Type hibernateType) |
ParameterMemento(int position,
String name,
ParameterMode mode,
Class type,
Type hibernateType)
Create the memento
|
Modifier and Type | Method and Description |
---|---|
Type |
ParameterRegistrationImplementor.getHibernateType()
Access to the Hibernate type for this parameter registration
|
Modifier and Type | Class and Description |
---|---|
class |
GeolatteGeometryType
a
Type that maps between the database geometry type and geolatte-geom Geometry . |
class |
JTSGeometryType
A
Type that maps between the database geometry type and JTS Geometry . |
Modifier and Type | Method and Description |
---|---|
Type[] |
OracleSpatialProjection.getTypes(Criteria criteria,
CriteriaQuery criteriaQuery) |
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 |
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) |
Type |
TypeFactory.byClass(Class clazz,
Properties parameters) |
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 |
AbstractStandardBasicType.getSemiResolvedType(SessionFactoryImplementor factory) |
Type |
EntityType.getSemiResolvedType(SessionFactoryImplementor factory) |
Type |
AbstractType.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[] |
ComponentType.getSubtypes() |
Type[] |
CompositeType.getSubtypes()
Get the types of the component properties
|
Type[] |
CompositeCustomType.getSubtypes() |
Type[] |
AnyType.getSubtypes() |
Type |
TypeResolver.heuristicType(String typeName)
|
Type |
TypeResolver.heuristicType(String typeName,
Properties parameters)
Uses heuristics to deduce the proper
Type given a string naming the type or Java class. |
Type |
TypeFactory.type(Class<Type> typeClass,
Properties parameters) |
Modifier and Type | Method and Description |
---|---|
Type |
TypeFactory.any(Type metaType,
Type identifierType) |
static Object[] |
TypeHelper.assemble(Serializable[] row,
Type[] types,
SessionImplementor session,
Object owner)
Apply the
assemble(java.io.Serializable, org.hibernate.engine.spi.SessionImplementor, java.lang.Object) operation across a series of values. |
static void |
TypeHelper.beforeAssemble(Serializable[] row,
Type[] types,
SessionImplementor session)
Apply the
beforeAssemble(java.io.Serializable, org.hibernate.engine.spi.SessionImplementor) operation across a series of values. |
static void |
TypeHelper.deepCopy(Object[] values,
Type[] types,
boolean[] copy,
Object[] target,
SessionImplementor session)
Deep copy a series of values from one array to another...
|
static Serializable[] |
TypeHelper.disassemble(Object[] row,
Type[] types,
boolean[] nonCacheable,
SessionImplementor session,
Object owner)
Apply the
disassemble(java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object) operation across a series of values. |
static Object[] |
TypeHelper.replace(Object[] original,
Object[] target,
Type[] types,
SessionImplementor session,
Object owner,
Map copyCache)
Apply the
replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object, java.util.Map) operation across a series of values. |
static Object[] |
TypeHelper.replace(Object[] original,
Object[] target,
Type[] types,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
Apply the
replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object, java.util.Map) operation across a series of values. |
static Object[] |
TypeHelper.replaceAssociations(Object[] original,
Object[] target,
Type[] types,
SessionImplementor session,
Object owner,
Map copyCache,
ForeignKeyDirection foreignKeyDirection)
Apply the
replace(java.lang.Object, java.lang.Object, org.hibernate.engine.spi.SessionImplementor, java.lang.Object, java.util.Map) operation across a series of values, as long as the corresponding
Type is an association. |
Modifier and Type | Method and Description |
---|---|
Type |
TypeFactory.type(Class<Type> typeClass,
Properties parameters) |
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 © 2001-2017 Red Hat, Inc. All Rights Reserved.