Package | Description |
---|---|
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
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.spi | |
org.hibernate.hql.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.mapping |
This package defines the Hibernate configuration-time metamodel.
|
org.hibernate.metamodel.source | |
org.hibernate.metamodel.source.internal | |
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.internal | |
org.hibernate.persister.spi | |
org.hibernate.type |
A Hibernate Type is a strategy for mapping a
Java property type to a JDBC type or types.
|
Modifier and Type | Method and Description |
---|---|
Mapping |
Configuration.buildMapping() |
Modifier and Type | Method and Description |
---|---|
protected int |
StandardAnsiSqlAggregationFunctions.SumFunction.determineJdbcTypeCode(Type type,
Mapping mapping) |
Type |
ClassicAvgFunction.getReturnType(Type columnType,
Mapping mapping)
Deprecated.
|
Type |
AbstractAnsiTrimEmulationFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
ClassicCountFunction.getReturnType(Type columnType,
Mapping mapping)
Deprecated.
|
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) |
Modifier and Type | Method and Description |
---|---|
static String[] |
JoinHelper.getAliasedLHSColumnNames(AssociationType associationType,
String columnQualifier,
int propertyIndex,
int begin,
OuterJoinLoadable lhsPersister,
Mapping mapping)
Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the join
|
static String[] |
JoinHelper.getAliasedLHSColumnNames(AssociationType type,
String alias,
int property,
OuterJoinLoadable lhsPersister,
Mapping mapping)
Get the qualified (prefixed by alias) names of the columns of the owning entity which are to be used in the join
|
static String[] |
JoinHelper.getLHSColumnNames(AssociationType type,
int property,
int begin,
OuterJoinLoadable lhsPersister,
Mapping mapping)
Get the columns of the owning entity which are to be used in the join
|
static String[] |
JoinHelper.getLHSColumnNames(AssociationType type,
int property,
OuterJoinLoadable lhsPersister,
Mapping mapping)
Get the unqualified names of the columns of the owning entity which are to be used in the join.
|
Modifier and Type | Interface and Description |
---|---|
interface |
SessionFactoryImplementor
Defines the internal contract between the SessionFactory and other parts of
Hibernate such as implementors of Type.
|
Modifier and Type | Method and Description |
---|---|
protected void |
PersistentTableBulkIdStrategy.exportTableDefinitions(List<Table> idTableDefinitions,
JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess,
Mappings mappings,
Mapping mapping) |
void |
MultiTableBulkIdStrategy.prepare(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess,
Mappings mappings,
Mapping mapping,
Map settings)
Prepare the strategy.
|
void |
TemporaryTableBulkIdStrategy.prepare(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess,
Mappings mappings,
Mapping mapping,
Map settings) |
void |
PersistentTableBulkIdStrategy.prepare(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess,
Mappings mappings,
Mapping mapping,
Map settings) |
Modifier and Type | Class and Description |
---|---|
class |
SessionFactoryImpl
Concrete implementation of the SessionFactory interface.
|
Constructor and Description |
---|
SessionFactoryImpl(Configuration cfg,
Mapping mapping,
ServiceRegistry serviceRegistry,
Settings settings,
SessionFactoryObserver observer) |
Modifier and Type | Method and Description |
---|---|
String |
Column.getSqlType(Dialect dialect,
Mapping mapping) |
int |
Column.getSqlTypeCode(Mapping mapping) |
boolean |
Value.isValid(Mapping mapping) |
boolean |
Property.isValid(Mapping mapping) |
boolean |
Collection.isValid(Mapping mapping) |
boolean |
SimpleValue.isValid(Mapping mapping) |
boolean |
ToOne.isValid(Mapping mapping) |
boolean |
OneToMany.isValid(Mapping mapping) |
void |
PersistentClass.prepareTemporaryTables(Mapping mapping,
Dialect dialect) |
Iterator |
Table.sqlAlterStrings(Dialect dialect,
Mapping p,
TableMetadata tableInfo,
String defaultCatalog,
String defaultSchema) |
String |
SimpleAuxiliaryDatabaseObject.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
UniqueKey.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
RelationalModel.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
Table.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
Constraint.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
Index.sqlCreateString(Dialect dialect,
Mapping mapping,
String defaultCatalog,
String defaultSchema) |
String |
Table.sqlTemporaryTableCreateString(Dialect dialect,
Mapping mapping) |
void |
JoinedSubclass.validate(Mapping mapping) |
void |
SingleTableSubclass.validate(Mapping mapping) |
void |
PersistentClass.validate(Mapping mapping) |
void |
Set.validate(Mapping mapping) |
void |
IndexedCollection.validate(Mapping mapping) |
void |
Collection.validate(Mapping mapping) |
void |
RootClass.validate(Mapping mapping) |
void |
UnionSubclass.validate(Mapping mapping) |
void |
IdentifierCollection.validate(Mapping mapping) |
void |
Table.validateColumns(Dialect dialect,
Mapping mapping,
TableMetadata tableInfo) |
Modifier and Type | Interface and Description |
---|---|
interface |
MetadataImplementor |
Modifier and Type | Class and Description |
---|---|
class |
MetadataImpl
Container for configuration data collected during binding the metamodel.
|
Constructor and Description |
---|
CompositeElementPropertyMapping(String[] elementColumns,
String[] elementColumnReaders,
String[] elementColumnReaderTemplates,
String[] elementFormulaTemplates,
CompositeType compositeType,
Mapping factory) |
Modifier and Type | Method and Description |
---|---|
Size[] |
DiscriminatorType.defaultSizes(Mapping mapping) |
Size[] |
DiscriminatorType.dictatedSizes(Mapping mapping) |
Object |
DiscriminatorType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
protected String |
UnionSubclassEntityPersister.generateSubquery(PersistentClass model,
Mapping mapping) |
int |
DiscriminatorType.getColumnSpan(Mapping mapping) |
protected void |
AbstractPropertyMapping.initComponentPropertyPaths(String path,
CompositeType type,
String[] columns,
String[] columnReaders,
String[] columnReaderTemplates,
String[] formulaTemplates,
Mapping factory) |
protected void |
AbstractPropertyMapping.initIdentifierPropertyPaths(String path,
EntityType etype,
String[] columns,
String[] columnReaders,
String[] columnReaderTemplates,
Mapping factory) |
protected void |
AbstractEntityPersister.initPropertyPaths(Mapping mapping) |
protected void |
AbstractPropertyMapping.initPropertyPaths(String path,
Type type,
String[] columns,
String[] columnReaders,
String[] columnReaderTemplates,
String[] formulaTemplates,
Mapping factory) |
protected void |
AbstractEntityPersister.postConstruct(Mapping mapping)
Post-construct is a callback for AbstractEntityPersister subclasses to call after they are all done with their
constructor processing.
|
int[] |
DiscriminatorType.sqlTypes(Mapping mapping) |
boolean[] |
DiscriminatorType.toColumnNullness(Object value,
Mapping mapping) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
PersisterFactoryImpl.createEntityPersister(EntityBinding metadata,
EntityRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory,
Mapping cfg) |
EntityPersister |
PersisterFactoryImpl.createEntityPersister(PersistentClass metadata,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdRegionAccessStrategy,
SessionFactoryImplementor factory,
Mapping cfg) |
Modifier and Type | Method and Description |
---|---|
EntityPersister |
PersisterFactory.createEntityPersister(EntityBinding model,
EntityRegionAccessStrategy cacheAccessStrategy,
SessionFactoryImplementor factory,
Mapping cfg)
Create an entity persister instance.
|
EntityPersister |
PersisterFactory.createEntityPersister(PersistentClass model,
EntityRegionAccessStrategy cacheAccessStrategy,
NaturalIdRegionAccessStrategy naturalIdAccessStrategy,
SessionFactoryImplementor factory,
Mapping cfg)
Create an entity persister instance.
|
Modifier and Type | Method and Description |
---|---|
Size[] |
OneToOneType.defaultSizes(Mapping mapping) |
Size[] |
ComponentType.defaultSizes(Mapping mapping) |
Size[] |
SpecialOneToOneType.defaultSizes(Mapping mapping) |
Size[] |
AbstractStandardBasicType.defaultSizes(Mapping mapping) |
Size[] |
ManyToOneType.defaultSizes(Mapping mapping) |
Size[] |
CompositeCustomType.defaultSizes(Mapping mapping) |
Size[] |
AbstractLobType.defaultSizes(Mapping mapping)
Deprecated.
|
Size[] |
CustomType.defaultSizes(Mapping mapping) |
Size[] |
AnyType.defaultSizes(Mapping mapping) |
Size[] |
MetaType.defaultSizes(Mapping mapping) |
Size[] |
CollectionType.defaultSizes(Mapping mapping) |
Size[] |
Type.defaultSizes(Mapping mapping)
Defines the column sizes to use according to this type if the user did not explicitly say (and if no
Type.dictatedSizes(org.hibernate.engine.spi.Mapping) were given). |
Size[] |
NullableType.defaultSizes(Mapping mapping)
Deprecated.
|
Size[] |
OneToOneType.dictatedSizes(Mapping mapping) |
Size[] |
ComponentType.dictatedSizes(Mapping mapping) |
Size[] |
SpecialOneToOneType.dictatedSizes(Mapping mapping) |
Size[] |
AbstractStandardBasicType.dictatedSizes(Mapping mapping) |
Size[] |
ManyToOneType.dictatedSizes(Mapping mapping) |
Size[] |
CompositeCustomType.dictatedSizes(Mapping mapping) |
Size[] |
AbstractLobType.dictatedSizes(Mapping mapping)
Deprecated.
|
Size[] |
CustomType.dictatedSizes(Mapping mapping) |
Size[] |
AnyType.dictatedSizes(Mapping mapping) |
Size[] |
MetaType.dictatedSizes(Mapping mapping) |
Size[] |
CollectionType.dictatedSizes(Mapping mapping) |
Size[] |
Type.dictatedSizes(Mapping mapping)
Return the column sizes dictated by this type.
|
Size[] |
NullableType.dictatedSizes(Mapping mapping)
Deprecated.
|
Object |
ComponentType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
ByteArrayBlobType.fromXMLNode(org.dom4j.Node xml,
Mapping factory)
Deprecated.
|
Object |
AbstractStandardBasicType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
CompositeCustomType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
EntityType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
CustomType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
AnyType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
MetaType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
CollectionType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
Type.fromXMLNode(org.dom4j.Node xml,
Mapping factory)
Deprecated.
To be removed in 5. Removed as part of removing the notion of DOM entity-mode.
See Jira issue: HHH-7771
|
Object |
NullableType.fromXMLNode(org.dom4j.Node xml,
Mapping factory)
Deprecated.
|
T |
XmlRepresentableType.fromXMLString(String xml,
Mapping factory)
Deprecated.
|
T |
AbstractStandardBasicType.fromXMLString(String xml,
Mapping factory) |
Object |
CustomType.fromXMLString(String xml,
Mapping factory) |
Object |
MetaType.fromXMLString(String xml,
Mapping factory) |
Object |
NullableType.fromXMLString(String xml,
Mapping factory)
Deprecated.
|
int |
OneToOneType.getColumnSpan(Mapping session) |
int |
ComponentType.getColumnSpan(Mapping mapping) |
int |
SpecialOneToOneType.getColumnSpan(Mapping mapping) |
int |
AbstractStandardBasicType.getColumnSpan(Mapping mapping) |
int |
ManyToOneType.getColumnSpan(Mapping mapping) |
int |
CompositeCustomType.getColumnSpan(Mapping mapping) |
int |
AbstractLobType.getColumnSpan(Mapping mapping)
Deprecated.
|
int |
CustomType.getColumnSpan(Mapping session) |
int |
AnyType.getColumnSpan(Mapping session) |
int |
MetaType.getColumnSpan(Mapping mapping) |
int |
CollectionType.getColumnSpan(Mapping session) |
int |
Type.getColumnSpan(Mapping mapping)
How many columns are used to persist this type.
|
int |
NullableType.getColumnSpan(Mapping session)
Deprecated.
|
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.
|
int[] |
OneToOneType.sqlTypes(Mapping session) |
int[] |
ComponentType.sqlTypes(Mapping mapping) |
int[] |
SpecialOneToOneType.sqlTypes(Mapping mapping) |
int[] |
ByteArrayBlobType.sqlTypes(Mapping mapping)
Deprecated.
|
int[] |
AbstractStandardBasicType.sqlTypes(Mapping mapping) |
int[] |
ManyToOneType.sqlTypes(Mapping mapping) |
int[] |
CompositeCustomType.sqlTypes(Mapping mapping) |
int[] |
CustomType.sqlTypes(Mapping pi) |
int[] |
AnyType.sqlTypes(Mapping mapping) |
int[] |
MetaType.sqlTypes(Mapping mapping) |
int[] |
CollectionType.sqlTypes(Mapping session) |
int[] |
Type.sqlTypes(Mapping mapping)
Return the JDBC types codes (per
Types ) for the columns mapped by this type. |
int[] |
NullableType.sqlTypes(Mapping session)
Deprecated.
|
boolean[] |
OneToOneType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
ComponentType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
ByteArrayBlobType.toColumnNullness(Object value,
Mapping mapping)
Deprecated.
|
boolean[] |
AbstractStandardBasicType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
ManyToOneType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
CompositeCustomType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
CustomType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
AnyType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
MetaType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
CollectionType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
Type.toColumnNullness(Object value,
Mapping mapping)
Given an instance of the type, return an array of boolean, indicating
which mapped columns would be null.
|
boolean[] |
NullableType.toColumnNullness(Object value,
Mapping mapping)
Deprecated.
|
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.