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 | |
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 |
VarArgsSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
TrimFunctionTemplate.getReturnType(Type firstArgument,
Mapping mapping) |
Type |
StandardSQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
StandardAnsiSqlAggregationFunctions.SumFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
SQLFunctionTemplate.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
SQLFunction.getReturnType(Type firstArgumentType,
Mapping mapping)
The return type of the function.
|
Type |
PositionSubstringFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
NvlFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
NoArgSQLFunction.getReturnType(Type argumentType,
Mapping mapping) |
Type |
DerbyConcatFunction.getReturnType(Type argumentType,
Mapping mapping)
The return type of the function.
|
Type |
ConvertFunction.getReturnType(Type firstArgumentType,
Mapping mapping) |
Type |
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 |
AbstractAnsiTrimEmulationFunction.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 aliased 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 aliased 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 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 |
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) |
void |
MultiTableBulkIdStrategy.prepare(JdbcServices jdbcServices,
JdbcConnectionAccess connectionAccess,
Mappings mappings,
Mapping mapping,
Map settings)
Prepare the strategy.
|
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 |
ToOne.isValid(Mapping mapping) |
boolean |
SimpleValue.isValid(Mapping mapping) |
boolean |
Property.isValid(Mapping mapping) |
boolean |
OneToMany.isValid(Mapping mapping) |
boolean |
Collection.isValid(Mapping mapping) |
void |
PersistentClass.prepareTemporaryTables(Mapping mapping,
Dialect dialect) |
Iterator |
Table.sqlAlterStrings(Dialect dialect,
Mapping p,
TableMetadata tableInfo,
String defaultCatalog,
String defaultSchema) |
String |
UniqueKey.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
Table.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
SimpleAuxiliaryDatabaseObject.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
RelationalModel.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
Index.sqlCreateString(Dialect dialect,
Mapping mapping,
String defaultCatalog,
String defaultSchema) |
String |
Constraint.sqlCreateString(Dialect dialect,
Mapping p,
String defaultCatalog,
String defaultSchema) |
String |
Table.sqlTemporaryTableCreateString(Dialect dialect,
Mapping mapping) |
void |
UnionSubclass.validate(Mapping mapping) |
void |
SingleTableSubclass.validate(Mapping mapping) |
void |
Set.validate(Mapping mapping) |
void |
RootClass.validate(Mapping mapping) |
void |
PersistentClass.validate(Mapping mapping) |
void |
JoinedSubclass.validate(Mapping mapping) |
void |
IndexedCollection.validate(Mapping mapping) |
void |
IdentifierCollection.validate(Mapping mapping) |
void |
Collection.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) |
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[] |
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[] |
SpecialOneToOneType.defaultSizes(Mapping mapping) |
Size[] |
OneToOneType.defaultSizes(Mapping mapping) |
Size[] |
NullableType.defaultSizes(Mapping mapping)
Deprecated.
|
Size[] |
MetaType.defaultSizes(Mapping mapping) |
Size[] |
ManyToOneType.defaultSizes(Mapping mapping) |
Size[] |
CustomType.defaultSizes(Mapping mapping) |
Size[] |
CompositeCustomType.defaultSizes(Mapping mapping) |
Size[] |
ComponentType.defaultSizes(Mapping mapping) |
Size[] |
CollectionType.defaultSizes(Mapping mapping) |
Size[] |
AnyType.defaultSizes(Mapping mapping) |
Size[] |
AbstractStandardBasicType.defaultSizes(Mapping mapping) |
Size[] |
AbstractLobType.defaultSizes(Mapping mapping)
Deprecated.
|
Size[] |
Type.dictatedSizes(Mapping mapping)
Return the column sizes dictated by this type.
|
Size[] |
SpecialOneToOneType.dictatedSizes(Mapping mapping) |
Size[] |
OneToOneType.dictatedSizes(Mapping mapping) |
Size[] |
NullableType.dictatedSizes(Mapping mapping)
Deprecated.
|
Size[] |
MetaType.dictatedSizes(Mapping mapping) |
Size[] |
ManyToOneType.dictatedSizes(Mapping mapping) |
Size[] |
CustomType.dictatedSizes(Mapping mapping) |
Size[] |
CompositeCustomType.dictatedSizes(Mapping mapping) |
Size[] |
ComponentType.dictatedSizes(Mapping mapping) |
Size[] |
CollectionType.dictatedSizes(Mapping mapping) |
Size[] |
AnyType.dictatedSizes(Mapping mapping) |
Size[] |
AbstractStandardBasicType.dictatedSizes(Mapping mapping) |
Size[] |
AbstractLobType.dictatedSizes(Mapping mapping)
Deprecated.
|
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.
|
Object |
MetaType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
EntityType.fromXMLNode(org.dom4j.Node xml,
Mapping factory)
Parse the XML representation of an instance.
|
Object |
CustomType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
CompositeCustomType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
ComponentType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
CollectionType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
ByteArrayBlobType.fromXMLNode(org.dom4j.Node xml,
Mapping factory)
Deprecated.
|
Object |
AnyType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
Object |
AbstractStandardBasicType.fromXMLNode(org.dom4j.Node xml,
Mapping factory) |
T |
XmlRepresentableType.fromXMLString(String xml,
Mapping factory)
Deprecated.
|
Object |
NullableType.fromXMLString(String xml,
Mapping factory)
Deprecated.
|
Object |
MetaType.fromXMLString(String xml,
Mapping factory) |
Object |
CustomType.fromXMLString(String xml,
Mapping factory) |
T |
AbstractStandardBasicType.fromXMLString(String xml,
Mapping factory) |
int |
Type.getColumnSpan(Mapping mapping)
How many columns are used to persist this type.
|
int |
SpecialOneToOneType.getColumnSpan(Mapping mapping) |
int |
OneToOneType.getColumnSpan(Mapping session) |
int |
NullableType.getColumnSpan(Mapping session)
Deprecated.
|
int |
MetaType.getColumnSpan(Mapping mapping) |
int |
ManyToOneType.getColumnSpan(Mapping mapping) |
int |
CustomType.getColumnSpan(Mapping session) |
int |
CompositeCustomType.getColumnSpan(Mapping mapping) |
int |
ComponentType.getColumnSpan(Mapping mapping) |
int |
CollectionType.getColumnSpan(Mapping session) |
int |
AnyType.getColumnSpan(Mapping session) |
int |
AbstractStandardBasicType.getColumnSpan(Mapping mapping) |
int |
AbstractLobType.getColumnSpan(Mapping mapping)
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[] |
Type.sqlTypes(Mapping mapping)
Return the JDBC types codes (per
Types ) for the columns mapped by this type. |
int[] |
SpecialOneToOneType.sqlTypes(Mapping mapping) |
int[] |
OneToOneType.sqlTypes(Mapping session) |
int[] |
NullableType.sqlTypes(Mapping session)
Deprecated.
|
int[] |
MetaType.sqlTypes(Mapping mapping) |
int[] |
ManyToOneType.sqlTypes(Mapping mapping) |
int[] |
CustomType.sqlTypes(Mapping pi) |
int[] |
CompositeCustomType.sqlTypes(Mapping mapping) |
int[] |
ComponentType.sqlTypes(Mapping mapping) |
int[] |
CollectionType.sqlTypes(Mapping session) |
int[] |
ByteArrayBlobType.sqlTypes(Mapping mapping)
Deprecated.
|
int[] |
AnyType.sqlTypes(Mapping mapping) |
int[] |
AbstractStandardBasicType.sqlTypes(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[] |
OneToOneType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
NullableType.toColumnNullness(Object value,
Mapping mapping)
Deprecated.
|
boolean[] |
MetaType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
ManyToOneType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
CustomType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
CompositeCustomType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
ComponentType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
CollectionType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
ByteArrayBlobType.toColumnNullness(Object value,
Mapping mapping)
Deprecated.
|
boolean[] |
AnyType.toColumnNullness(Object value,
Mapping mapping) |
boolean[] |
AbstractStandardBasicType.toColumnNullness(Object value,
Mapping mapping) |
Copyright © 2018 JBoss by Red Hat. All rights reserved.