Uses of Interface
org.hibernate.type.Type

Packages that use Type
org.hibernate This package defines the central Hibernate APIs. 
org.hibernate.cache This package defines APIs and implementations for the second-level cache and query cache. 
org.hibernate.classic This package implements backward-compatibility with Hibernate 2.1 APIs now deprecated in Hibernate3. 
org.hibernate.collection This package defines a framework for collection wrappers. 
org.hibernate.criterion A framework for defining restriction criteria and order criteria. 
org.hibernate.dialect This package abstracts the SQL dialect of the underlying database. 
org.hibernate.dialect.function A framework for defining database-specific SQL functions that are available via the dialect. 
org.hibernate.engine This package contains classes that are "shared" by other packages, and implementations of some key algorithms. 
org.hibernate.engine.query   
org.hibernate.engine.query.sql   
org.hibernate.event.def This package defines a default set of event listeners that implements the default behaviors of Hibernate. 
org.hibernate.hql This package defines the interface between Hibernate and the HQL query parser implementation (to allow switching between the 2.x and 3.0 HQL parsers). 
org.hibernate.hql.ast An ANTLR-based parser for Hibernate Query Language. 
org.hibernate.hql.ast.tree   
org.hibernate.hql.ast.util   
org.hibernate.hql.classic This package contains the Hibernate 2.x query parser which is being end-of-lifed. 
org.hibernate.id This package contains internal implementation classes for the main API interfaces. 
org.hibernate.impl This package contains implementations of the central Hibernate APIs, especially the Hibernate session. 
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.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.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.pretty Classes for pretty printing things for exception and log messages. 
org.hibernate.property This package abstracts the notion of a "property" of an entity. 
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.entity   
org.hibernate.type A Hibernate Type is a strategy for mapping a Java property type to a JDBC type or types. 
org.hibernate.usertype Interfaces for user-defined custom types. 
org.hibernate.util Utility classes. 
 

Uses of Type in org.hibernate
 

Fields in org.hibernate declared as Type
static Type Hibernate.BLOB
          Hibernate blob type.
static Type Hibernate.CLOB
          Hibernate clob type.
static Type Hibernate.OBJECT
          Hibernate object type.
 

Methods in org.hibernate that return Type
 Type ScrollableResults.getType(int i)
          Get the type of the ith column of results
 Type[] Query.getReturnTypes()
          Return the Hibernate types of the query result set.
static Type Hibernate.serializable(Class serializableClass)
          A Hibernate serializable type.
static Type Hibernate.any(Type metaType, Type identifierType)
          A Hibernate any type.
static Type Hibernate.entity(Class persistentClass)
          A Hibernate persistent object (entity) type.
static Type Hibernate.entity(String entityName)
          A Hibernate persistent object (entity) type.
static Type Hibernate.custom(Class userTypeClass)
          A Hibernate custom type.
static Type Hibernate.custom(Class userTypeClass, String[] parameterNames, String[] parameterValues)
          A Hibernate parameterizable custom type.
static Type Hibernate.custom(Class userTypeClass, Properties parameters)
          A Hibernate parameterizable custom type.
 

Methods in org.hibernate with parameters of type Type
 SQLQuery SQLQuery.addScalar(String columnAlias, Type type)
          Declare a scalar query result
 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.setParameters(Object[] values, Type[] types)
          Bind values and types to positional parameters.
 Query Query.setParameterList(String name, Collection vals, Type type)
          Bind multiple values to a named query parameter.
 Query Query.setParameterList(String name, Object[] vals, Type type)
          Bind multiple values to a named query parameter.
 boolean Interceptor.onLoad(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
          Called just before an object is initialized.
 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 Interceptor.onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
          Called before an object is saved.
 void Interceptor.onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
          Called before an object is deleted.
 int[] Interceptor.findDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)
          Called from flush().
static Type Hibernate.any(Type metaType, Type identifierType)
          A Hibernate any type.
 void EmptyInterceptor.onDelete(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
           
 boolean EmptyInterceptor.onFlushDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)
           
 boolean EmptyInterceptor.onLoad(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
           
 boolean EmptyInterceptor.onSave(Object entity, Serializable id, Object[] state, String[] propertyNames, Type[] types)
           
 int[] EmptyInterceptor.findDirty(Object entity, Serializable id, Object[] currentState, Object[] previousState, String[] propertyNames, Type[] types)
           
 

Uses of Type in org.hibernate.cache
 

Methods in org.hibernate.cache with parameters of type Type
 boolean StandardQueryCache.put(QueryKey key, Type[] returnTypes, List result, boolean isNaturalKeyLookup, SessionImplementor session)
           
 List StandardQueryCache.get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, Set spaces, SessionImplementor session)
           
 boolean QueryCache.put(QueryKey key, Type[] returnTypes, List result, boolean isNaturalKeyLookup, SessionImplementor session)
           
 List QueryCache.get(QueryKey key, Type[] returnTypes, boolean isNaturalKeyLookup, Set spaces, SessionImplementor session)
           
 

Constructors in org.hibernate.cache with parameters of type Type
CacheKey(Serializable id, Type type, String entityOrRoleName, EntityMode entityMode, SessionFactoryImplementor factory)
          Construct a new key for a collection or entity instance.
 

Uses of Type in org.hibernate.classic
 

Methods in org.hibernate.classic with parameters of type Type
 List Session.find(String query, Object value, Type type)
          Deprecated. use Session.createQuery(java.lang.String).setXYZ.Query.list()
 List Session.find(String query, Object[] values, Type[] types)
          Deprecated. use Session.createQuery(java.lang.String).setXYZ.Query.list()
 Iterator Session.iterate(String query, Object value, Type type)
          Deprecated. use Session.createQuery(java.lang.String).setXYZ.Query.iterate()
 Iterator Session.iterate(String query, Object[] values, Type[] types)
          Deprecated. use Session.createQuery(java.lang.String).setXYZ.Query.iterate()
 Collection Session.filter(Object collection, String filter, Object value, Type type)
          Deprecated. use Session.createFilter(Object, String).setXYZ.Query.list()
 Collection Session.filter(Object collection, String filter, Object[] values, Type[] types)
          Deprecated. use Session.createFilter(Object, String).setXYZ.Query.list()
 int Session.delete(String query, Object value, Type type)
          Deprecated. consider using HQL delete statements
 int Session.delete(String query, Object[] values, Type[] types)
          Deprecated. consider using HQL delete statements
 

Uses of Type in org.hibernate.collection
 

Methods in org.hibernate.collection with parameters of type Type
 boolean PersistentSet.needsInserting(Object entry, int i, Type elemType)
           
 boolean PersistentSet.needsUpdating(Object entry, int i, Type elemType)
           
 boolean PersistentMap.needsInserting(Object entry, int i, Type elemType)
           
 boolean PersistentMap.needsUpdating(Object entry, int i, Type elemType)
           
 boolean PersistentList.needsInserting(Object entry, int i, Type elemType)
           
 boolean PersistentList.needsUpdating(Object entry, int i, Type elemType)
           
 boolean PersistentIndexedElementHolder.needsInserting(Object entry, int i, Type elementType)
           
 boolean PersistentIndexedElementHolder.needsUpdating(Object entry, int i, Type elementType)
           
 boolean PersistentIdentifierBag.needsInserting(Object entry, int i, Type elemType)
           
 boolean PersistentIdentifierBag.needsUpdating(Object entry, int i, Type elemType)
           
 boolean PersistentElementHolder.needsInserting(Object entry, int i, Type elementType)
           
 boolean PersistentElementHolder.needsUpdating(Object entry, int i, Type elementType)
           
 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?
 boolean PersistentBag.needsInserting(Object entry, int i, Type elemType)
           
 boolean PersistentBag.needsUpdating(Object entry, int i, Type elemType)
           
 boolean PersistentArrayHolder.needsInserting(Object entry, int i, Type elemType)
           
 boolean PersistentArrayHolder.needsUpdating(Object entry, int i, Type elemType)
           
 

Uses of Type in org.hibernate.criterion
 

Methods in org.hibernate.criterion that return Type
protected  Type[] SubqueryExpression.getTypes()
           
 Type[] SQLProjection.getTypes(Criteria crit, CriteriaQuery criteriaQuery)
           
 Type[] SQLProjection.getTypes(String alias, Criteria crit, CriteriaQuery criteriaQuery)
           
 Type[] SimpleProjection.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] RowCountProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] PropertyProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] ProjectionList.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] ProjectionList.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] Projection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
          Return types returned by the rendered SQL fragment
 Type[] Projection.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
          Return types for a particular user-visible alias
 Type[] IdentifierProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] Distinct.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] Distinct.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type CriteriaQuery.getType(Criteria criteria, String propertyPath)
          Get the type of a property path, ignoring projection aliases
 Type CriteriaQuery.getTypeUsingProjection(Criteria criteria, String propertyPath)
          Get the type of a property path
 Type CriteriaQuery.getIdentifierType(Criteria subcriteria)
          Get the identifier type of this entity
 Type[] CountProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] AvgProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] AliasedProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] AliasedProjection.getTypes(String alias, Criteria criteria, CriteriaQuery criteriaQuery)
           
 Type[] AggregateProjection.getTypes(Criteria criteria, CriteriaQuery criteriaQuery)
           
 

Methods in org.hibernate.criterion with parameters of type Type
static Criterion Restrictions.sqlRestriction(String sql, Object[] values, Type[] types)
          Apply a constraint expressed in SQL, with the given JDBC parameters.
static Criterion Restrictions.sqlRestriction(String sql, Object value, Type type)
          Apply a constraint expressed in SQL, with the given JDBC parameter.
static Projection Projections.sqlProjection(String sql, String[] columnAliases, Type[] types)
          A SQL projection, a typed select clause fragment
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 Criterion Expression.sql(String sql, Object[] values, Type[] types)
          Apply a constraint expressed in SQL, with the given JDBC parameters.
static Criterion Expression.sql(String sql, Object value, Type type)
          Apply a constraint expressed in SQL, with the given JDBC parameter.
protected  void Example.addPropertyTypedValue(Object value, Type type, List list)
           
 boolean Example.PropertySelector.include(Object propertyValue, String propertyName, Type type)
           
 

Constructors in org.hibernate.criterion with parameters of type Type
SQLProjection(String sql, String[] columnAliases, Type[] types)
           
SQLProjection(String sql, String groupBy, String[] columnAliases, Type[] types)
           
SQLCriterion(String sql, Object[] values, Type[] types)
           
 

Uses of Type in org.hibernate.dialect
 

Methods in org.hibernate.dialect that return Type
 Type DerbyDialect.DerbyTrimFunctionEmulation.getReturnType(Type columnType, Mapping mapping)
           
 

Methods in org.hibernate.dialect with parameters of type Type
 Type DerbyDialect.DerbyTrimFunctionEmulation.getReturnType(Type columnType, Mapping mapping)
           
 

Uses of Type in org.hibernate.dialect.function
 

Methods in org.hibernate.dialect.function that return Type
 Type VarArgsSQLFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type StandardSQLFunction.getType()
          Function static return type accessor.
 Type StandardSQLFunction.getReturnType(Type columnType, Mapping mapping)
          The return type of the function. May be either a concrete type which is preset, or variable depending upon the type of the first function argument.
 Type SQLFunctionTemplate.getReturnType(Type columnType, Mapping mapping)
           
 Type SQLFunction.getReturnType(Type columnType, Mapping mapping)
          The return type of the function.
 Type PositionSubstringFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type NvlFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type NoArgSQLFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type ConvertFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type ClassicCountFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type ClassicAvgFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type CharIndexFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type CastFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type AnsiTrimEmulationFunction.getReturnType(Type columnType, Mapping mapping)
           
 

Methods in org.hibernate.dialect.function with parameters of type Type
 Type VarArgsSQLFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type StandardSQLFunction.getReturnType(Type columnType, Mapping mapping)
          The return type of the function. May be either a concrete type which is preset, or variable depending upon the type of the first function argument.
 Type SQLFunctionTemplate.getReturnType(Type columnType, Mapping mapping)
           
 Type SQLFunction.getReturnType(Type columnType, Mapping mapping)
          The return type of the function.
 Type PositionSubstringFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type NvlFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type NoArgSQLFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type ConvertFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type ClassicCountFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type ClassicAvgFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type CharIndexFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type CastFunction.getReturnType(Type columnType, Mapping mapping)
           
 Type AnsiTrimEmulationFunction.getReturnType(Type columnType, Mapping mapping)
           
 

Constructors in org.hibernate.dialect.function with parameters of type Type
VarArgsSQLFunction(Type type, String begin, String sep, String end)
           
StandardSQLFunction(String name, Type type)
          Construct a standard SQL function definition with a static return type.
StandardJDBCEscapeFunction(String name, Type typeValue)
           
SQLFunctionTemplate(Type type, String template)
           
SQLFunctionTemplate(Type type, String template, boolean hasParenthesesIfNoArgs)
           
NoArgSQLFunction(String name, Type returnType)
           
NoArgSQLFunction(String name, Type returnType, boolean hasParenthesesIfNoArguments)
           
ConditionalParenthesisFunction(String name, Type type)
           
 

Uses of Type in org.hibernate.engine
 

Metho