Package | Description |
---|---|
org.hibernate.boot |
This package contains the contracts that make up the Hibernate native
bootstrapping API (building a SessionFactory).
|
org.hibernate.boot.internal | |
org.hibernate.boot.spi | |
org.hibernate.cfg |
This package defines APIs for configuring Hibernate, and classes
for building the Hibernate configuration-time metamodel.
|
org.hibernate.engine.spi | |
org.hibernate.internal |
An internal package containing mostly implementations of central Hibernate APIs.
|
org.hibernate.query.spi |
Modifier and Type | Method and Description |
---|---|
NamedQueryDefinition |
Metadata.getNamedQueryDefinition(String name)
Retrieve named query metadata by name.
|
Modifier and Type | Method and Description |
---|---|
Collection<NamedQueryDefinition> |
Metadata.getNamedQueryDefinitions() |
Modifier and Type | Method and Description |
---|---|
NamedQueryDefinition |
MetadataImpl.getNamedQueryDefinition(String name) |
NamedQueryDefinition |
InFlightMetadataCollectorImpl.getNamedQueryDefinition(String name) |
Modifier and Type | Method and Description |
---|---|
Collection<NamedQueryDefinition> |
MetadataImpl.getNamedQueryDefinitions() |
Collection<NamedQueryDefinition> |
InFlightMetadataCollectorImpl.getNamedQueryDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
InFlightMetadataCollectorImpl.addDefaultQuery(NamedQueryDefinition queryDefinition) |
void |
InFlightMetadataCollectorImpl.addNamedQuery(NamedQueryDefinition def) |
Modifier and Type | Method and Description |
---|---|
NamedQueryDefinition |
AbstractDelegatingMetadata.getNamedQueryDefinition(String name) |
Modifier and Type | Method and Description |
---|---|
Collection<NamedQueryDefinition> |
AbstractDelegatingMetadata.getNamedQueryDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
InFlightMetadataCollector.addDefaultQuery(NamedQueryDefinition queryDefinition) |
void |
InFlightMetadataCollector.addNamedQuery(NamedQueryDefinition query)
Adds metadata for a named query to this repository.
|
Modifier and Type | Method and Description |
---|---|
Map<String,NamedQueryDefinition> |
Configuration.getNamedQueries() |
Modifier and Type | Class and Description |
---|---|
class |
NamedSQLQueryDefinition
Definition of a named native SQL query, defined in the mapping metadata.
|
Modifier and Type | Method and Description |
---|---|
NamedQueryDefinition |
NamedQueryDefinitionBuilder.createNamedQueryDefinition() |
default NamedQueryDefinition |
SessionFactoryImplementor.getNamedQuery(String queryName)
Deprecated.
(since 5.2) Use
NamedQueryRepository.getNamedQueryDefinition(java.lang.String) instead. |
NamedQueryDefinition |
SessionFactoryDelegatingImpl.getNamedQuery(String queryName) |
NamedQueryDefinition |
NamedQueryDefinition.makeCopy(String name) |
Modifier and Type | Method and Description |
---|---|
default void |
SessionFactoryImplementor.registerNamedQueryDefinition(String name,
NamedQueryDefinition definition)
Deprecated.
|
void |
SessionFactoryDelegatingImpl.registerNamedQueryDefinition(String name,
NamedQueryDefinition definition) |
Modifier and Type | Method and Description |
---|---|
protected QueryImplementor |
AbstractSharedSessionContract.createQuery(NamedQueryDefinition queryDefinition) |
protected <T> QueryImplementor<T> |
AbstractSharedSessionContract.createQuery(NamedQueryDefinition namedQueryDefinition,
Class<T> resultType) |
protected void |
SessionImpl.initQueryFromNamedDefinition(Query query,
NamedQueryDefinition namedQueryDefinition) |
protected void |
AbstractSharedSessionContract.initQueryFromNamedDefinition(Query query,
NamedQueryDefinition nqd) |
Modifier and Type | Method and Description |
---|---|
NamedQueryDefinition |
NamedQueryRepository.getNamedQueryDefinition(String queryName) |
Modifier and Type | Method and Description |
---|---|
void |
NamedQueryRepository.registerNamedQueryDefinition(String name,
NamedQueryDefinition definition) |
Constructor and Description |
---|
NamedQueryRepository(Iterable<NamedQueryDefinition> namedQueryDefinitions,
Iterable<NamedSQLQueryDefinition> namedSqlQueryDefinitions,
Iterable<ResultSetMappingDefinition> namedSqlResultSetMappings,
Map<String,ProcedureCallMemento> namedProcedureCalls) |
NamedQueryRepository(Map<String,NamedQueryDefinition> namedQueryDefinitionMap,
Map<String,NamedSQLQueryDefinition> namedSqlQueryDefinitionMap,
Map<String,ResultSetMappingDefinition> namedSqlResultSetMappingMap,
Map<String,ProcedureCallMemento> namedProcedureCallMap) |
Copyright © 2019 JBoss by Red Hat. All rights reserved.