Package | Description |
---|---|
org.hibernate |
This package defines the central Hibernate APIs.
|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.cfg.annotations | |
org.hibernate.dialect |
This package abstracts the SQL dialect of the underlying database.
|
org.hibernate.ejb | |
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.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.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.id.enhanced | |
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.entity |
This package defines entity loaders
|
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
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.property |
This package abstracts the notion of a "property" of
an entity.
|
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
org.hibernate.util |
Utility classes.
|
Modifier and Type | Class and Description |
---|---|
class |
AnnotationException
Annotation related exception.
|
class |
DuplicateMappingException
Raised whenever a duplicate for a certain type occurs.
|
class |
InvalidMappingException
Thrown when a mapping is found to be invalid.
|
class |
MappingNotFoundException
Thrown when a resource for a mapping could not be found.
|
class |
PropertyNotFoundException
Indicates that an expected getter or setter method could not be
found on a class.
|
Modifier and Type | Method and Description |
---|---|
SQLQuery |
SQLQuery.addSynchronizedEntityClass(java.lang.Class entityClass)
Adds an entity for (a) auto-flush checking and (b) query result cache invalidation checking.
|
SQLQuery |
SQLQuery.addSynchronizedEntityName(java.lang.String entityName)
Adds an entity name for (a) auto-flush checking and (b) query result cache invalidation checking.
|
Modifier and Type | Class and Description |
---|---|
class |
NotYetImplementedException
Mapping not yet implemented
|
class |
RecoverableException
Should neven be exposed to the client
An exception that wrap an underlying exception whith the hope
subsequent processing will recover from it.
|
Modifier and Type | Method and Description |
---|---|
AnnotationConfiguration |
AnnotationConfiguration.addAnnotatedClass(java.lang.Class annotatedClass)
Deprecated.
Read metadata from the annotations associated with this class.
|
AnnotationConfiguration |
AnnotationConfiguration.addCacheableFile(java.io.File xmlFile)
Deprecated.
|
Configuration |
Configuration.addCacheableFile(java.io.File xmlFile)
Add a cached mapping file.
|
AnnotationConfiguration |
AnnotationConfiguration.addCacheableFile(java.lang.String xmlFile)
Deprecated.
|
Configuration |
Configuration.addCacheableFile(java.lang.String xmlFile)
Add a cacheable mapping file.
|
AnnotationConfiguration |
AnnotationConfiguration.addClass(java.lang.Class persistentClass)
Deprecated.
|
Configuration |
Configuration.addClass(java.lang.Class persistentClass)
Read a mapping as an application resource using the convention that a class
named foo.bar.Foo is mapped by a file foo/bar/Foo.hbm.xml
which can be resolved as a classpath resource.
|
AnnotationConfiguration |
AnnotationConfiguration.addDirectory(java.io.File dir)
Deprecated.
|
Configuration |
Configuration.addDirectory(java.io.File dir)
Read all mapping documents from a directory tree.
|
AnnotationConfiguration |
AnnotationConfiguration.addDocument(org.w3c.dom.Document doc)
Deprecated.
|
Configuration |
Configuration.addDocument(org.w3c.dom.Document doc)
Read mappings from a DOM Document
|
AnnotationConfiguration |
AnnotationConfiguration.addFile(java.io.File xmlFile)
Deprecated.
|
Configuration |
Configuration.addFile(java.io.File xmlFile)
Read mappings from a particular XML file
|
AnnotationConfiguration |
AnnotationConfiguration.addFile(java.lang.String xmlFile)
Deprecated.
|
Configuration |
Configuration.addFile(java.lang.String xmlFile)
Read mappings from a particular XML file
|
Configuration |
Configuration.addInputStream(java.io.InputStream xmlInputStream)
Read mappings from an
InputStream . |
AnnotationConfiguration |
AnnotationConfiguration.addJar(java.io.File jar)
Deprecated.
|
Configuration |
Configuration.addJar(java.io.File jar)
Read all mappings from a jar file
Assumes that any file named *.hbm.xml is a mapping document.
|
AnnotationConfiguration |
AnnotationConfiguration.addPackage(java.lang.String packageName)
Deprecated.
Read package-level metadata.
|
Configuration |
Configuration.addPackage(java.lang.String packageName)
Read package-level metadata.
|
AnnotationConfiguration |
AnnotationConfiguration.addResource(java.lang.String resourceName)
Deprecated.
|
Configuration |
Configuration.addResource(java.lang.String resourceName)
Read mappings as a application resourceName (i.e.
|
AnnotationConfiguration |
AnnotationConfiguration.addResource(java.lang.String resourceName,
java.lang.ClassLoader classLoader)
Deprecated.
|
Configuration |
Configuration.addResource(java.lang.String resourceName,
java.lang.ClassLoader classLoader)
Read mappings as a application resource (i.e.
|
AnnotationConfiguration |
AnnotationConfiguration.addURL(java.net.URL url)
Deprecated.
|
Configuration |
Configuration.addURL(java.net.URL url)
Read mappings from a URL
|
AnnotationConfiguration |
AnnotationConfiguration.addXML(java.lang.String xml)
Deprecated.
|
Configuration |
Configuration.addXML(java.lang.String xml)
Read mappings from a String
|
static void |
HbmBinder.bindAny(org.dom4j.Element node,
Any any,
boolean isNullable,
Mappings mappings) |
static void |
HbmBinder.bindArray(org.dom4j.Element node,
Array array,
java.lang.String prefix,
java.lang.String path,
Mappings mappings,
java.util.Map inheritedMetas)
Called for arrays and primitive arrays
|
static void |
HbmBinder.bindClass(org.dom4j.Element node,
PersistentClass persistentClass,
Mappings mappings,
java.util.Map inheritedMetas) |
static void |
AnnotationBinder.bindClass(org.hibernate.annotations.common.reflection.XClass clazzToProcess,
java.util.Map<org.hibernate.annotations.common.reflection.XClass,InheritanceState> inheritanceStatePerClass,
Mappings mappings)
Bind a class having JSR175 annotations.
|
static void |
HbmBinder.bindCollection(org.dom4j.Element node,
Collection collection,
java.lang.String className,
java.lang.String path,
Mappings mappings,
java.util.Map inheritedMetas)
Called for all collections
|
static void |
HbmBinder.bindCollectionSecondPass(org.dom4j.Element node,
Collection collection,
java.util.Map persistentClasses,
Mappings mappings,
java.util.Map inheritedMetas)
Called for all collections
|
static void |
HbmBinder.bindColumn(org.dom4j.Element node,
Column column,
boolean isNullable) |
static void |
HbmBinder.bindColumns(org.dom4j.Element node,
SimpleValue simpleValue,
boolean isNullable,
boolean autoColumn,
java.lang.String propertyPath,
Mappings mappings) |
static void |
HbmBinder.bindComponent(org.dom4j.Element node,
Component component,
java.lang.String ownerClassName,
java.lang.String parentProperty,
java.lang.String path,
boolean isNullable,
boolean isEmbedded,
Mappings mappings,
java.util.Map inheritedMetas,
boolean isIdentifierMapper) |
static void |
HbmBinder.bindComposite(org.dom4j.Element node,
Component component,
java.lang.String path,
boolean isNullable,
Mappings mappings,
java.util.Map inheritedMetas) |
static void |
HbmBinder.bindCompositeId(org.dom4j.Element node,
Component component,
PersistentClass persistentClass,
java.lang.String propertyName,
Mappings mappings,
java.util.Map inheritedMetas) |
static void |
HbmBinder.bindIdentifierCollectionSecondPass(org.dom4j.Element node,
IdentifierCollection collection,
java.util.Map persistentClasses,
Mappings mappings,
java.util.Map inheritedMetas) |
static void |
HbmBinder.bindJoinedSubclass(org.dom4j.Element node,
JoinedSubclass joinedSubclass,
Mappings mappings,
java.util.Map inheritedMetas) |
static void |
HbmBinder.bindListSecondPass(org.dom4j.Element node,
List list,
java.util.Map classes,
Mappings mappings,
java.util.Map inheritedMetas)
Called for Lists, arrays, primitive arrays
|
static void |
HbmBinder.bindManyToOne(org.dom4j.Element node,
ManyToOne manyToOne,
java.lang.String path,
boolean isNullable,
Mappings mappings) |
static void |
HbmBinder.bindMapSecondPass(org.dom4j.Element node,
Map map,
java.util.Map classes,
Mappings mappings,
java.util.Map inheritedMetas)
Called for Maps
|
static void |
HbmBinder.bindOneToMany(org.dom4j.Element node,
OneToMany oneToMany,
Mappings mappings) |
static void |
HbmBinder.bindOneToOne(org.dom4j.Element node,
OneToOne oneToOne,
java.lang.String path,
boolean isNullable,
Mappings mappings) |
static void |
HbmBinder.bindProperty(org.dom4j.Element node,
Property property,
Mappings mappings,
java.util.Map inheritedMetas) |
static void |
HbmBinder.bindRoot(XmlDocument metadataXml,
Mappings mappings,
java.util.Map inheritedMetas,
java.util.Set<java.lang.String> entityNames)
The main contract into the hbm.xml-based binder.
|
static void |
HbmBinder.bindRootClass(org.dom4j.Element node,
RootClass rootClass,
Mappings mappings,
java.util.Map inheritedMetas)
Responsible for perfoming the bind operation related to an <class/> mapping element.
|
static void |
HbmBinder.bindSimpleValue(org.dom4j.Element node,
SimpleValue simpleValue,
boolean isNullable,
java.lang.String path,
Mappings mappings) |
static void |
HbmBinder.bindSubclass(org.dom4j.Element node,
Subclass subclass,
Mappings mappings,
java.util.Map inheritedMetas) |
static void |
HbmBinder.bindUnionSubclass(org.dom4j.Element node,
UnionSubclass unionSubclass,
Mappings mappings,
java.util.Map inheritedMetas) |
protected static void |
HbmBinder.createClassProperties(org.dom4j.Element node,
PersistentClass persistentClass,
Mappings mappings,
java.util.Map inheritedMetas) |
protected static void |
HbmBinder.createClassProperties(org.dom4j.Element node,
PersistentClass persistentClass,
Mappings mappings,
java.util.Map inheritedMetas,
UniqueKey uniqueKey,
boolean mutable,
boolean nullable,
boolean naturalId) |
void |
ResultSetMappingSecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
JoinedSubclassFkSecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
VerifyFetchProfileReferenceSecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
IndexOrUniqueKeySecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
SecondaryTableSecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
SecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
NamedSQLQuerySecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
PkDrivenByDefaultMapsIdSecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
CollectionSecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
OneToOneSecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
CreateKeySecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
SetSimpleValueTypeSecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
ToOneFkSecondPass.doSecondPass(java.util.Map persistentClasses) |
void |
CopyIdentifierComponentSecondPass.doSecondPass(java.util.Map persistentClasses) |
org.hibernate.annotations.common.reflection.XClass |
PropertyData.getClassOrElement()
Returns the returned class itself or the element type if an array
|
org.hibernate.annotations.common.reflection.XClass |
WrappedInferredData.getClassOrElement() |
org.hibernate.annotations.common.reflection.XClass |
PropertyInferredData.getClassOrElement() |
org.hibernate.annotations.common.reflection.XClass |
PropertyPreloadedData.getClassOrElement() |
java.lang.String |
PropertyData.getClassOrElementName()
Returns the returned class name itself or the element type if an array
|
java.lang.String |
WrappedInferredData.getClassOrElementName() |
java.lang.String |
PropertyInferredData.getClassOrElementName() |
java.lang.String |
PropertyPreloadedData.getClassOrElementName() |
AccessType |
PropertyInferredData.getDefaultAccess() |
AccessType |
PropertyPreloadedData.getDefaultAccess() |
java.lang.String |
Configuration.MappingsImpl.getLogicalColumnName(java.lang.String physicalName,
Table table) |
java.lang.String |
Mappings.getLogicalColumnName(java.lang.String physicalName,
Table table)
Find the logical column name against whcih the given physical column name was bound within the given table.
|
java.lang.String |
Configuration.MappingsImpl.getLogicalTableName(Table table) |
java.lang.String |
Mappings.getLogicalTableName(Table table)
Get the logical table name mapped for the given physical table.
|
java.lang.String |
Configuration.MappingsImpl.getPhysicalColumnName(java.lang.String logicalName,
Table table) |
java.lang.String |
Mappings.getPhysicalColumnName(java.lang.String logicalName,
Table table)
Find the physical column name for the given logical column name within the given table.
|
org.hibernate.annotations.common.reflection.XClass |
PropertyData.getPropertyClass()
Return the class itself
|
org.hibernate.annotations.common.reflection.XClass |
WrappedInferredData.getPropertyClass() |
org.hibernate.annotations.common.reflection.XClass |
PropertyInferredData.getPropertyClass() |
org.hibernate.annotations.common.reflection.XClass |
PropertyPreloadedData.getPropertyClass() |
java.lang.String |
PropertyData.getPropertyName() |
java.lang.String |
WrappedInferredData.getPropertyName() |
java.lang.String |
PropertyInferredData.getPropertyName() |
java.lang.String |
PropertyPreloadedData.getPropertyName() |
static java.lang.String |
HbmBinder.getTypeFromXML(org.dom4j.Element node) |
java.lang.String |
PropertyData.getTypeName()
Returns the returned class name itself
|
java.lang.String |
WrappedInferredData.getTypeName() |
java.lang.String |
PropertyInferredData.getTypeName() |
java.lang.String |
PropertyPreloadedData.getTypeName() |
abstract void |
CollectionSecondPass.secondPass(java.util.Map persistentClasses,
java.util.Map inheritedMetas) |
protected void |
Configuration.secondPassCompile() |
protected void |
Configuration.secondPassCompileForeignKeys(Table table,
java.util.Set done) |
void |
Configuration.setCacheConcurrencyStrategy(java.lang.String entityName,
java.lang.String concurrencyStrategy,
java.lang.String region,
boolean cacheLazyProperty) |
AnnotationConfiguration |
AnnotationConfiguration.setCollectionCacheConcurrencyStrategy(java.lang.String collectionRole,
java.lang.String concurrencyStrategy)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected void |
CollectionBinder.bindManyToManySecondPass(Collection collValue,
java.util.Map persistentClasses,
Ejb3JoinColumn[] joinColumns,
Ejb3JoinColumn[] inverseJoinColumns,
Ejb3Column[] elementColumns,
boolean isEmbedded,
org.hibernate.annotations.common.reflection.XClass collType,
boolean ignoreNotFound,
boolean unique,
boolean cascadeDeleteEnabled,
TableBinder associationTableBinder,
org.hibernate.annotations.common.reflection.XProperty property,
PropertyHolder parentPropertyHolder,
java.lang.String hqlOrderBy,
Mappings mappings) |
void |
ResultsetMappingSecondPass.doSecondPass(java.util.Map persistentClasses) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
TypeNames.get(int typecode)
get default type name for specified type
|
java.lang.String |
TypeNames.get(int typecode,
int size,
int precision,
int scale)
get type name for specified type and size
|
protected java.lang.String |
Dialect.getCreateSequenceString(java.lang.String sequenceName)
Typically dialects which support sequences can create a sequence
with a single command.
|
protected java.lang.String |
Dialect.getCreateSequenceString(java.lang.String sequenceName,
int initialValue,
int incrementSize)
Overloaded form of
Dialect.getCreateSequenceString(String) , additionally
taking the initial value and increment size to be applied to the sequence
definition. |
java.lang.String[] |
Dialect.getCreateSequenceStrings(java.lang.String sequenceName)
Deprecated.
|
java.lang.String[] |
Dialect.getCreateSequenceStrings(java.lang.String sequenceName,
int initialValue,
int incrementSize)
An optional multi-line form for databases which
Dialect.supportsPooledSequences() . |
protected java.lang.String |
Dialect.getDropSequenceString(java.lang.String sequenceName)
Typically dialects which support sequences can drop a sequence
with a single command.
|
java.lang.String[] |
Dialect.getDropSequenceStrings(java.lang.String sequenceName)
The multiline script used to drop a sequence.
|
protected java.lang.String |
Dialect.getIdentityColumnString()
The syntax used during DDL to define a column as being an IDENTITY.
|
protected java.lang.String |
CUBRIDDialect.getIdentityColumnString() |
java.lang.String |
Cache71Dialect.getIdentityColumnString() |
java.lang.String |
Dialect.getIdentityColumnString(int type)
The syntax used during DDL to define a column as being an IDENTITY of
a particular type.
|
java.lang.String |
InformixDialect.getIdentityColumnString(int type) |
protected java.lang.String |
Dialect.getIdentitySelectString()
Get the select command to use to retrieve the last generated IDENTITY
value.
|
java.lang.String |
Dialect.getIdentitySelectString(java.lang.String table,
java.lang.String column,
int type)
Get the select command to use to retrieve the last generated IDENTITY
value for a particular table
|
java.lang.String |
InformixDialect.getIdentitySelectString(java.lang.String table,
java.lang.String column,
int type) |
java.lang.String |
CUBRIDDialect.getIdentitySelectString(java.lang.String table,
java.lang.String column,
int type) |
java.lang.String |
Dialect.getSelectSequenceNextValString(java.lang.String sequenceName)
Generate the select expression fragment that will retrieve the next
value of a sequence as part of another (typically DML) statement.
|
java.lang.String |
Dialect.getSequenceNextValString(java.lang.String sequenceName)
Generate the appropriate select statement to to retrieve the next value
of a sequence.
|
Modifier and Type | Method and Description |
---|---|
Ejb3Configuration |
Ejb3Configuration.addAnnotatedClass(java.lang.Class persistentClass) |
Ejb3Configuration |
Ejb3Configuration.addClass(java.lang.Class persistentClass) |
Ejb3Configuration |
Ejb3Configuration.addFile(java.io.File xmlFile) |
Ejb3Configuration |
Ejb3Configuration.addFile(java.lang.String xmlFile) |
Ejb3Configuration |
Ejb3Configuration.addInputStream(java.io.InputStream xmlInputStream) |
Ejb3Configuration |
Ejb3Configuration.addPackage(java.lang.String packageName) |
Ejb3Configuration |
Ejb3Configuration.addResource(java.lang.String path) |
Ejb3Configuration |
Ejb3Configuration.addResource(java.lang.String path,
java.lang.ClassLoader classLoader) |
Modifier and Type | Method and Description |
---|---|
JoinSequence |
JoinSequence.addJoin(AssociationType associationType,
java.lang.String alias,
int joinType,
java.lang.String[] referencingKey) |
java.lang.Object |
PersistenceContext.getCollectionOwner(java.io.Serializable key,
CollectionPersister collectionPersister)
Get the entity that owns this persistent collection
|
java.lang.Object |
StatefulPersistenceContext.getCollectionOwner(java.io.Serializable key,
CollectionPersister collectionPersister)
Get the entity that owns this persistent collection
|
CollectionPersister |
SessionFactoryImplementor.getCollectionPersister(java.lang.String role)
Get the persister object for a collection role.
|
EntityPersister |
SessionFactoryImplementor.getEntityPersister(java.lang.String entityName)
Get the persister for the named entity
|
java.lang.String |
Mapping.getIdentifierPropertyName(java.lang.String className) |
Type |
Mapping.getIdentifierType(java.lang.String className) |
java.lang.String[] |
SessionFactoryImplementor.getImplementors(java.lang.String className)
Get the names of all persistent classes that implement/extend the given interface/class
|
Type |
Mapping.getReferencedPropertyType(java.lang.String className,
java.lang.String propertyName) |
java.lang.Boolean |
VersionValue.isUnsaved(java.lang.Object version)
Does the given version belong to a new instance?
|
boolean |
PersistenceContext.reassociateIfUninitializedProxy(java.lang.Object value)
Takes the given object and, if it represents a proxy, reassociates it with this event source.
|
boolean |
StatefulPersistenceContext.reassociateIfUninitializedProxy(java.lang.Object value)
Takes the given object and, if it represents a proxy, reassociates it with this event source.
|
void |
PersistenceContext.reassociateProxy(java.lang.Object value,
java.io.Serializable id)
If a deleted entity instance is re-saved, and it has a proxy, we need to
reset the identifier of the proxy
|
void |
StatefulPersistenceContext.reassociateProxy(java.lang.Object value,
java.io.Serializable id)
If a deleted entity instance is re-saved, and it has a proxy, we need to
reset the identifier of the proxy
|
JoinFragment |
JoinSequence.toJoinFragment() |
JoinFragment |
JoinSequence.toJoinFragment(java.util.Map enabledFilters,
boolean includeExtraJoins) |
JoinFragment |
JoinSequence.toJoinFragment(java.util.Map enabledFilters,
boolean includeExtraJoins,
java.lang.String withClauseFragment,
java.lang.String withClauseJoinAlias) |
Modifier and Type | Method and Description |
---|---|
FilterQueryPlan |
QueryPlanCache.getFilterQueryPlan(java.lang.String filterString,
java.lang.String collectionRole,
boolean shallow,
java.util.Map enabledFilters) |
HQLQueryPlan |
QueryPlanCache.getHQLQueryPlan(java.lang.String queryString,
boolean shallow,
java.util.Map enabledFilters) |
Modifier and Type | Method and Description |
---|---|
void |
QueryTranslator.compile(java.util.Map replacements,
boolean shallow)
Compile a "normal" query.
|
void |
FilterTranslator.compile(java.lang.String collectionRole,
java.util.Map replacements,
boolean shallow)
Compile a filter.
|
static java.lang.String[] |
QuerySplitter.concreteQueries(java.lang.String query,
SessionFactoryImplementor factory)
Handle Hibernate "implicit" polymorphism, by translating the query string into
several "concrete" queries against mapped classes.
|
static java.lang.String[][] |
NameGenerator.generateColumnNames(Type[] types,
SessionFactoryImplementor f) |
Modifier and Type | Method and Description |
---|---|
void |
QueryTranslatorImpl.compile(java.util.Map replacements,
boolean shallow)
Compile a "normal" query.
|
void |
QueryTranslatorImpl.compile(java.lang.String collectionRole,
java.util.Map replacements,
boolean shallow)
Compile a filter.
|
Modifier and Type | Method and Description |
---|---|
void |
QueryTranslatorImpl.compile(java.util.Map replacements,
boolean scalar)
Compile a "normal" query.
|
void |
QueryTranslatorImpl.compile(java.lang.String collectionRole,
java.util.Map replacements,
boolean scalar)
Compile a filter.
|
Modifier and Type | Method and Description |
---|---|
void |
SequenceIdentityGenerator.configure(Type type,
java.util.Properties params,
Dialect dialect) |
void |
SequenceHiLoGenerator.configure(Type type,
java.util.Properties params,
Dialect d) |
void |
SequenceGenerator.configure(Type type,
java.util.Properties params,
Dialect dialect) |
void |
Assigned.configure(Type type,
java.util.Properties params,
Dialect d) |
void |
MultipleHiLoPerTableGenerator.configure(Type type,
java.util.Properties params,
Dialect dialect) |
void |
SelectGenerator.configure(Type type,
java.util.Properties params,
Dialect d) |
void |
Configurable.configure(Type type,
java.util.Properties params,
Dialect d)
Configure this instance, given the value of parameters
specified by the user as <param> elements.
|
void |
IncrementGenerator.configure(Type type,
java.util.Properties params,
Dialect dialect) |
void |
UUIDGenerator.configure(Type type,
java.util.Properties params,
Dialect d) |
Modifier and Type | Method and Description |
---|---|
void |
SequenceStyleGenerator.configure(Type type,
java.util.Properties params,
Dialect dialect)
Configure this instance, given the value of parameters
specified by the user as <param> elements.
|
void |
TableGenerator.configure(Type type,
java.util.Properties params,
Dialect dialect)
Configure this instance, given the value of parameters
specified by the user as <param> elements.
|
Modifier and Type | Method and Description |
---|---|
CollectionPersister |
SessionFactoryImpl.getCollectionPersister(java.lang.String role) |
EntityPersister |
SessionFactoryImpl.getEntityPersister(java.lang.String entityName) |
java.lang.String |
SessionFactoryImpl.getIdentifierPropertyName(java.lang.String className) |
Type |
SessionFactoryImpl.getIdentifierType(java.lang.String className) |
java.lang.String[] |
SessionFactoryImpl.getImplementors(java.lang.String className)
Return the names of all persistent (mapped) classes that extend or implement the
given class or interface, accounting for implicit/explicit polymorphism settings
and excluding mapped subclasses/joined-subclasses of other classes in the result.
|
Query |
SessionImpl.getNamedQuery(java.lang.String queryName) |
Query |
AbstractSessionImpl.getNamedQuery(java.lang.String queryName) |
Query |
AbstractSessionImpl.getNamedSQLQuery(java.lang.String queryName) |
Type |
SessionFactoryImpl.getReferencedPropertyType(java.lang.String className,
java.lang.String propertyName) |
Constructor and Description |
---|
AbstractScrollableResults(java.sql.ResultSet rs,
java.sql.PreparedStatement ps,
SessionImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator) |
FetchingScrollableResultsImpl(java.sql.ResultSet rs,
java.sql.PreparedStatement ps,
SessionImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator) |
ScrollableResultsImpl(java.sql.ResultSet rs,
java.sql.PreparedStatement ps,
SessionImplementor sess,
Loader loader,
QueryParameters queryParameters,
Type[] types,
HolderInstantiator holderInstantiator) |
Modifier and Type | Method and Description |
---|---|
void |
OuterJoinableAssociation.addJoins(JoinFragment outerjoin) |
void |
OuterJoinableAssociation.addManyToManyJoin(JoinFragment outerjoin,
QueryableCollection collection) |
protected static int |
JoinWalker.countCollectionPersisters(java.util.List associations)
Count the number of instances of Joinable which are actually
also instances of PersistentCollection which are being fetched
by outer join
|
protected static int |
JoinWalker.countEntityPersisters(java.util.List associations)
Count the number of instances of Joinable which are actually
also instances of Loadable, or are one-to-many associations
|
protected int |
JoinWalker.getJoinType(AssociationType associationType,
FetchMode config,
PropertyPath path,
java.lang.String lhsTable,
java.lang.String[] lhsColumns,
boolean nullable,
int currentDepth,
CascadeStyle cascadeStyle)
Determine the appropriate associationType of join (if any) to use to fetch the
given association.
|
protected int |
JoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
java.lang.String lhsTable,
java.lang.String[] lhsColumns,
boolean nullable,
int currentDepth)
Determine the appropriate type of join (if any) to use to fetch the
given association.
|
protected java.lang.String |
AbstractEntityJoinWalker.getWhereFragment() |
protected void |
AbstractEntityJoinWalker.initAll(java.lang.String whereString,
java.lang.String orderByString,
LockOptions lockOptions) |
protected void |
AbstractEntityJoinWalker.initAll(java.lang.String whereString,
java.lang.String orderByString,
LockOptions lockOptions,
JoinWalker.AssociationInitCallback callback) |
protected void |
JoinWalker.initPersisters(java.util.List associations,
LockMode lockMode) |
protected void |
JoinWalker.initPersisters(java.util.List associations,
LockOptions lockOptions) |
protected void |
JoinWalker.initPersisters(java.util.List associations,
LockOptions lockOptions,
JoinWalker.AssociationInitCallback callback) |
protected void |
AbstractEntityJoinWalker.initProjection(java.lang.String projectionString,
java.lang.String whereString,
java.lang.String orderByString,
java.lang.String groupByString,
LockOptions lockOptions) |
protected boolean |
JoinWalker.isJoinedFetchEnabledInMapping(FetchMode config,
AssociationType type)
Does the mapping, and Hibernate default semantics, specify that
this association should be fetched by outer joining
|
protected JoinFragment |
JoinWalker.mergeOuterJoins(java.util.List associations)
Generate a sequence of LEFT OUTER JOIN clauses for the given associations.
|
protected static java.lang.String |
JoinWalker.orderBy(java.util.List associations)
Get the order by string required for collection fetching
|
protected java.lang.String |
JoinWalker.selectString(java.util.List associations)
Generate a select list of columns containing all properties of the entity classes
|
void |
OuterJoinableAssociation.validateJoin(java.lang.String path) |
protected void |
JoinWalker.walkCollectionTree(QueryableCollection persister,
java.lang.String alias)
For a collection role, return a list of associations to be fetched by outerjoin
|
protected void |
JoinWalker.walkEntityTree(OuterJoinLoadable persister,
java.lang.String alias)
Walk the association tree for an entity, adding associations which should
be join fetched to the
JoinWalker.associations inst var. |
Constructor and Description |
---|
OuterJoinableAssociation(PropertyPath propertyPath,
AssociationType joinableType,
java.lang.String lhsAlias,
java.lang.String[] lhsColumns,
java.lang.String rhsAlias,
int joinType,
java.lang.String withClause,
boolean hasRestriction,
SessionFactoryImplementor factory,
java.util.Map enabledFilters) |
Modifier and Type | Method and Description |
---|---|
static CollectionInitializer |
BatchingCollectionInitializer.createBatchingCollectionInitializer(QueryableCollection persister,
int maxBatchSize,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
static CollectionInitializer |
BatchingCollectionInitializer.createBatchingOneToManyInitializer(QueryableCollection persister,
int maxBatchSize,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
protected int |
BasicCollectionJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
java.lang.String lhsTable,
java.lang.String[] lhsColumns,
boolean nullable,
int currentDepth) |
Constructor and Description |
---|
BasicCollectionJoinWalker(QueryableCollection collectionPersister,
int batchSize,
java.lang.String subquery,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
BasicCollectionLoader(QueryableCollection collectionPersister,
int batchSize,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
BasicCollectionLoader(QueryableCollection collectionPersister,
int batchSize,
java.lang.String subquery,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
BasicCollectionLoader(QueryableCollection collectionPersister,
SessionFactoryImplementor session,
LoadQueryInfluencers loadQueryInfluencers) |
OneToManyJoinWalker(QueryableCollection oneToManyPersister,
int batchSize,
java.lang.String subquery,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
OneToManyLoader(QueryableCollection oneToManyPersister,
int batchSize,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
OneToManyLoader(QueryableCollection oneToManyPersister,
int batchSize,
java.lang.String subquery,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
OneToManyLoader(QueryableCollection oneToManyPersister,
SessionFactoryImplementor session,
LoadQueryInfluencers loadQueryInfluencers) |
SubselectCollectionLoader(QueryableCollection persister,
java.lang.String subquery,
java.util.Collection entityKeys,
QueryParameters queryParameters,
java.util.Map namedParameterLocMap,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
SubselectOneToManyLoader(QueryableCollection persister,
java.lang.String subquery,
java.util.Collection entityKeys,
QueryParameters queryParameters,
java.util.Map namedParameterLocMap,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
Modifier and Type | Method and Description |
---|---|
protected int |
CriteriaJoinWalker.getJoinType(AssociationType associationType,
FetchMode config,
PropertyPath path,
java.lang.String lhsTable,
java.lang.String[] lhsColumns,
boolean nullable,
int currentDepth,
CascadeStyle cascadeStyle) |
protected int |
CriteriaJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
java.lang.String lhsTable,
java.lang.String[] lhsColumns,
boolean nullable,
int currentDepth) |
protected java.lang.String |
CriteriaJoinWalker.getWhereFragment()
Use the discriminator, to narrow the select to instances
of the queried subclass, also applying any filters.
|
Modifier and Type | Method and Description |
---|---|
static UniqueEntityLoader |
BatchingEntityLoader.createBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockMode lockMode,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
static UniqueEntityLoader |
BatchingEntityLoader.createBatchingEntityLoader(OuterJoinLoadable persister,
int maxBatchSize,
LockOptions lockOptions,
SessionFactoryImplementor factory,
LoadQueryInfluencers loadQueryInfluencers) |
protected int |
EntityJoinWalker.getJoinType(OuterJoinLoadable persister,
PropertyPath path,
int propertyNumber,
AssociationType associationType,
FetchMode metadataFetchMode,
CascadeStyle metadataCascadeStyle,
java.lang.String lhsTable,
java.lang.String[] lhsColumns,
boolean nullable,
int currentDepth) |
Modifier and Type | Method and Description |
---|---|
void |
RootClass.addSubclass(Subclass subclass) |
void |
PersistentClass.addSubclass(Subclass subclass) |
protected void |
PersistentClass.checkColumnDuplication(java.util.Set distinctColumns,
java.util.Iterator columns) |
protected void |
PersistentClass.checkPropertyColumnDuplication(java.util.Set distinctColumns,
java.util.Iterator properties) |
void |
Map.createAllKeys() |
void |
Collection.createAllKeys() |
abstract void |
ToOne.createForeignKey() |
void |
OneToOne.createForeignKey() |
void |
SimpleValue.createForeignKey() |
void |
Value.createForeignKey() |
void |
ManyToOne.createForeignKey() |
IdentifierGenerator |
KeyValue.createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory,
Dialect dialect,
java.lang.String defaultCatalog,
java.lang.String defaultSchema,
RootClass rootClass) |
IdentifierGenerator |
SimpleValue.createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory,
Dialect dialect,
java.lang.String defaultCatalog,
java.lang.String defaultSchema,
RootClass rootClass) |
IdentifierGenerator |
Component.createIdentifierGenerator(IdentifierGeneratorFactory identifierGeneratorFactory,
Dialect dialect,
java.lang.String defaultCatalog,
java.lang.String defaultSchema,
RootClass rootClass) |
CascadeStyle |
Property.getCascadeStyle() |
java.lang.Class |
Component.getComponentClass() |
CollectionType |
List.getDefaultCollectionType() |
abstract CollectionType |
Collection.getDefaultCollectionType() |
CollectionType |
Array.getDefaultCollectionType() |
java.lang.Class |
Array.getElementClass() |
Getter |
Property.getGetter(java.lang.Class clazz) |
java.lang.Class |
PersistentClass.getMappedClass() |
Property |
PersistentClass.getProperty(java.lang.String propertyName) |
Property |
Component.getProperty(java.lang.String propertyName) |
PropertyAccessor |
Property.getPropertyAccessor(java.lang.Class clazz) |
Property |
PersistentClass.getRecursiveProperty(java.lang.String propertyPath) |
Property |
PersistentClass.getReferencedProperty(java.lang.String propertyPath)
Given a property path, locate the appropriate referenceable property reference.
|
Setter |
Property.getSetter(java.lang.Class clazz) |
int |
Column.getSqlTypeCode(Mapping mapping) |
abstract Type |
ToOne.getType() |
Type |
OneToOne.getType() |
Type |
SimpleValue.getType() |
Type |
Value.getType() |
Type |
Collection.getType() |
Type |
Any.getType() |
Type |
DependantValue.getType() |
Type |
Component.getType() |
Type |
ManyToOne.getType() |
Type |
Property.getType() |
boolean |
ToOne.isValid(Mapping mapping) |
boolean |
OneToMany.isValid(Mapping mapping) |
boolean |
SimpleValue.isValid(Mapping mapping) |
boolean |
Value.isValid(Mapping mapping) |
boolean |
Collection.isValid(Mapping mapping) |
boolean |
Property.isValid(Mapping mapping) |
void |
ForeignKey.setReferencedTable(Table referencedTable) |
void |
ToOne.setTypeUsingReflection(java.lang.String className,
java.lang.String propertyName) |
void |
SimpleValue.setTypeUsingReflection(java.lang.String className,
java.lang.String propertyName) |
void |
Value.setTypeUsingReflection(java.lang.String className,
java.lang.String propertyName) |
void |
Any.setTypeUsingReflection(java.lang.String className,
java.lang.String propertyName) |
void |
Component.setTypeUsingReflection(java.lang.String className,
java.lang.String propertyName) |
void |
RootClass.validate(Mapping mapping) |
void |
IndexedCollection.validate(Mapping mapping) |
void |
PersistentClass.validate(Mapping mapping) |
void |
Set.validate(Mapping mapping) |
void |
SingleTableSubclass.validate(Mapping mapping) |
void |
IdentifierCollection.validate(Mapping mapping) |
void |
Collection.validate(Mapping mapping) |
void |
JoinedSubclass.validate(Mapping mapping) |
void |
UnionSubclass.validate(Mapping mapping) |
Constructor and Description |
---|
Component(Mappings mappings,
Collection collection) |
Component(Mappings mappings,
Component component) |
Component(Mappings mappings,
Join join) |
Component(Mappings mappings,
PersistentClass owner) |
OneToMany(Mappings mappings,
PersistentClass owner) |
OneToOne(Mappings mappings,
Table table,
PersistentClass owner) |
Modifier and Type | Method and Description |
---|---|
protected CollectionInitializer |
BasicCollectionPersister.createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers)
Create the CollectionLoader
|
protected abstract CollectionInitializer |
AbstractCollectionPersister.createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers) |
protected CollectionInitializer |
OneToManyPersister.createCollectionInitializer(LoadQueryInfluencers loadQueryInfluencers)
Create the OneToManyLoader
|
protected java.lang.String |
AbstractCollectionPersister.filterFragment(java.lang.String alias) |
java.lang.String |
OneToManyPersister.filterFragment(java.lang.String alias) |
java.lang.String |
AbstractCollectionPersister.filterFragment(java.lang.String alias,
java.util.Map enabledFilters) |
java.lang.String |
AbstractCollectionPersister.oneToManyFilterFragment(java.lang.String alias) |
void |
CollectionPersister.postInstantiate() |
void |
AbstractCollectionPersister.postInstantiate() |
Constructor and Description |
---|
AbstractCollectionPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
BasicCollectionPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
CompositeElementPropertyMapping(java.lang.String[] elementColumns,
java.lang.String[] elementColumnReaders,
java.lang.String[] elementColumnReaderTemplates,
java.lang.String[] elementFormulaTemplates,
CompositeType compositeType,
Mapping factory) |
ElementPropertyMapping(java.lang.String[] elementColumns,
Type type) |
OneToManyPersister(Collection collection,
CollectionRegionAccessStrategy cacheAccessStrategy,
Configuration cfg,
SessionFactoryImplementor factory) |
Modifier and Type | Method and Description |
---|---|
protected UniqueEntityLoader |
AbstractEntityPersister.createEntityLoader(LockMode lockMode) |
protected UniqueEntityLoader |
AbstractEntityPersister.createEntityLoader(LockMode lockMode,
LoadQueryInfluencers loadQueryInfluencers) |
protected UniqueEntityLoader |
AbstractEntityPersister.createEntityLoader(LockOptions lockOptions,
LoadQueryInfluencers loadQueryInfluencers) |
protected void |
AbstractEntityPersister.createUniqueKeyLoaders() |
java.lang.String |
SingleTableEntityPersister.filterFragment(java.lang.String alias) |
protected abstract java.lang.String |
AbstractEntityPersister.filterFragment(java.lang.String alias) |
java.lang.String |
AbstractEntityPersister.filterFragment(java.lang.String alias,
java.util.Map enabledFilters) |
java.lang.String |
Joinable.filterFragment(java.lang.String alias,
java.util.Map enabledFilters)
Get the where clause filter, given a query alias and considering enabled session filters
|
int |
DiscriminatorType.getColumnSpan(Mapping mapping) |
Type |
AbstractEntityPersister.getPropertyType(java.lang.String propertyName) |
Type |
EntityPersister.getPropertyType(java.lang.String propertyName)
Get the type of a particular property by name.
|
protected void |
AbstractPropertyMapping.initComponentPropertyPaths(java.lang.String path,
CompositeType type,
java.lang.String[] columns,
java.lang.String[] columnReaders,
java.lang.String[] columnReaderTemplates,
java.lang.String[] formulaTemplates,
Mapping factory) |
protected void |
AbstractPropertyMapping.initIdentifierPropertyPaths(java.lang.String path,
EntityType etype,
java.lang.String[] columns,
java.lang.String[] columnReaders,
java.lang.String[] columnReaderTemplates,
Mapping factory) |
protected void |
AbstractEntityPersister.initPropertyPaths(Mapping mapping) |
protected void |
AbstractPropertyMapping.initPropertyPaths(java.lang.String path,
Type type,
java.lang.String[] columns,
java.lang.String[] columnReaders,
java.lang.String[] columnReaderTemplates,
java.lang.String[] formulaTemplates,
Mapping factory) |
protected void |
AbstractEntityPersister.initSubclassPropertyAliasesMap(PersistentClass model)
Must be called by subclasses, at the end of their constructors
|
java.lang.String |
SingleTableEntityPersister.oneToManyFilterFragment(java.lang.String alias) |
java.lang.String |
AbstractEntityPersister.oneToManyFilterFragment(java.lang.String alias) |
java.lang.String |
Joinable.oneToManyFilterFragment(java.lang.String alias) |
protected void |
AbstractEntityPersister.postConstruct(Mapping mapping) |
void |
AbstractEntityPersister.postInstantiate() |
void |
EntityPersister.postInstantiate()
Finish the initialization of this object.
|
int[] |
DiscriminatorType.sqlTypes(Mapping mapping) |
Modifier and Type | Method and Description |
---|---|
static PropertyAccessor |
PropertyAccessorFactory.getDom4jPropertyAccessor(java.lang.String nodeName,
Type type,
SessionFactoryImplementor factory) |
static PropertyAccessor |
PropertyAccessorFactory.getDynamicMapPropertyAccessor() |
static PropertyAccessor |
PropertyAccessorFactory.getPropertyAccessor(java.lang.Class optionalClass,
java.lang.String type) |
static PropertyAccessor |
PropertyAccessorFactory.getPropertyAccessor(Property property,
EntityMode mode)
Retrieves a PropertyAccessor instance based on the given property definition and
entity mode.
|
static PropertyAccessor |
PropertyAccessorFactory.getPropertyAccessor(java.lang.String type) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
AnyType.getAssociatedEntityName(SessionFactoryImplementor factory) |
java.lang.String |
CollectionType.getAssociatedEntityName(SessionFactoryImplementor factory) |
java.lang.String |
AssociationType.getAssociatedEntityName(SessionFactoryImplementor factory)
Get the entity name of the associated entity
|
Joinable |
CollectionType.getAssociatedJoinable(SessionFactoryImplementor factory) |
Joinable |
AssociationType.getAssociatedJoinable(SessionFactoryImplementor factory)
Get the "persister" for this association - a class or
collection persister
|
Joinable |
EntityType.getAssociatedJoinable(SessionFactoryImplementor factory)
Retrieves the
Joinable defining the associated entity. |
int |
Type.getColumnSpan(Mapping mapping)
How many columns are used to persist this type.
|
int |
AbstractLobType.getColumnSpan(Mapping mapping)
Deprecated.
|
int |
AnyType.getColumnSpan(Mapping session) |
int |
ManyToOneType.getColumnSpan(Mapping mapping) |
int |
OneToOneType.getColumnSpan(Mapping session) |
int |
CollectionType.getColumnSpan(Mapping session) |
int |
MetaType.getColumnSpan(Mapping mapping) |
int |
CompositeCustomType.getColumnSpan(Mapping mapping) |
int |
ComponentType.getColumnSpan(Mapping mapping) |
int |
SpecialOneToOneType.getColumnSpan(Mapping mapping) |
int |
AbstractStandardBasicType.getColumnSpan(Mapping mapping) |
Type |
CollectionType.getElementType(SessionFactoryImplementor factory)
Get the Hibernate type of the collection elements
|
java.lang.String |
EntityType.getIdentifierOrUniqueKeyPropertyName(Mapping factory)
The name of the property on the associated entity to which our FK
refers
|
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.
|
java.lang.String |
AnyType.getOnCondition(java.lang.String alias,
SessionFactoryImplementor factory,
java.util.Map enabledFilters) |
java.lang.String |
CollectionType.getOnCondition(java.lang.String alias,
SessionFactoryImplementor factory,
java.util.Map enabledFilters) |
java.lang.String |
AssociationType.getOnCondition(java.lang.String alias,
SessionFactoryImplementor factory,
java.util.Map enabledFilters)
Get the "filtering" SQL fragment that is applied in the
SQL on clause, in addition to the usual join condition
|
java.lang.String |
EntityType.getOnCondition(java.lang.String alias,
SessionFactoryImplementor factory,
java.util.Map enabledFilters) |
Type |
TypeResolver.heuristicType(java.lang.String typeName)
|
Type |
TypeResolver.heuristicType(java.lang.String typeName,
java.util.Properties parameters)
Uses heuristics to deduce the proper
Type given a string naming the type or Java class. |
int[] |
SerializableToBlobType.sqlTypes(Mapping mapping) |
int[] |
Type.sqlTypes(Mapping mapping)
Return the JDBC types codes (per
Types ) for the columns mapped by this type. |
int[] |
AnyType.sqlTypes(Mapping mapping) |
int[] |
ManyToOneType.sqlTypes(Mapping mapping) |
int[] |
OneToOneType.sqlTypes(Mapping session) |
int[] |
CollectionType.sqlTypes(Mapping session) |
int[] |
MetaType.sqlTypes(Mapping mapping) |
int[] |
CompositeCustomType.sqlTypes(Mapping mapping) |
int[] |
ComponentType.sqlTypes(Mapping mapping) |
int[] |
SpecialOneToOneType.sqlTypes(Mapping mapping) |
int[] |
AbstractStandardBasicType.sqlTypes(Mapping mapping) |
Constructor and Description |
---|
CustomType(UserType userType) |
CustomType(UserType userType,
java.lang.String[] registrationKeys) |
Modifier and Type | Method and Description |
---|---|
static Getter |
ReflectHelper.getGetter(java.lang.Class theClass,
java.lang.String name)
Directly retrieve the
Getter reference via the BasicPropertyAccessor . |
static java.lang.Class |
ReflectHelper.reflectedPropertyClass(java.lang.String className,
java.lang.String name)
Attempt to resolve the specified property type through reflection.
|
Copyright © 2014. All Rights Reserved.