Package | Description |
---|---|
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.jpa.spi | |
org.hibernate.metamodel |
NOTE: This package is currently unfinished and therefore considered experimental and unsupported.
|
org.hibernate.metamodel.source | |
org.hibernate.metamodel.source.internal |
Modifier and Type | Field and Description |
---|---|
protected Map<String,NamedSQLQueryDefinition> |
Configuration.namedSqlQueries |
Modifier and Type | Method and Description |
---|---|
NamedSQLQueryDefinition |
Configuration.MappingsImpl.getSQLQuery(String name) |
NamedSQLQueryDefinition |
Mappings.getSQLQuery(String name)
Get named SQL query metadata.
|
Modifier and Type | Method and Description |
---|---|
void |
Configuration.MappingsImpl.addDefaultSQLQuery(String name,
NamedSQLQueryDefinition query) |
void |
Mappings.addDefaultSQLQuery(String name,
NamedSQLQueryDefinition query) |
void |
Configuration.MappingsImpl.addSQLQuery(String name,
NamedSQLQueryDefinition query) |
void |
Mappings.addSQLQuery(String name,
NamedSQLQueryDefinition query)
Adds metadata for a named SQL query to this repository.
|
Modifier and Type | Method and Description |
---|---|
NamedSQLQueryDefinition |
NamedSQLQueryDefinitionBuilder.createNamedQueryDefinition() |
NamedSQLQueryDefinition |
SessionFactoryImplementor.getNamedSQLQuery(String queryName) |
NamedSQLQueryDefinition |
NamedSQLQueryDefinition.makeCopy(String name) |
Modifier and Type | Method and Description |
---|---|
SQLQuery |
SessionDelegatorBaseImpl.createSQLQuery(NamedSQLQueryDefinition namedQueryDefinition) |
SQLQuery |
SessionImplementor.createSQLQuery(NamedSQLQueryDefinition namedQueryDefinition)
Used from EntityManager
|
void |
SessionFactoryImplementor.registerNamedSQLQueryDefinition(String name,
NamedSQLQueryDefinition definition) |
Modifier and Type | Method and Description |
---|---|
NamedSQLQueryDefinition |
SessionFactoryImpl.getNamedSQLQuery(String queryName) |
NamedSQLQueryDefinition |
NamedQueryRepository.getNamedSQLQueryDefinition(String queryName) |
Modifier and Type | Method and Description |
---|---|
SQLQuery |
AbstractSessionImpl.createSQLQuery(NamedSQLQueryDefinition namedQueryDefinition) |
void |
SessionFactoryImpl.registerNamedSQLQueryDefinition(String name,
NamedSQLQueryDefinition definition) |
void |
NamedQueryRepository.registerNamedSQLQueryDefinition(String name,
NamedSQLQueryDefinition definition) |
Constructor and Description |
---|
NamedQueryRepository(Iterable<NamedQueryDefinition> namedQueryDefinitions,
Iterable<NamedSQLQueryDefinition> namedSqlQueryDefinitions,
Iterable<ResultSetMappingDefinition> namedSqlResultSetMappings,
Map<String,ProcedureCallMemento> namedProcedureCalls) |
Modifier and Type | Method and Description |
---|---|
protected QueryImpl |
AbstractEntityManagerImpl.createNamedSqlQuery(NamedSQLQueryDefinition namedQueryDefinition,
Class resultType) |
protected void |
AbstractEntityManagerImpl.resultClassChecking(Class resultType,
NamedSQLQueryDefinition namedQueryDefinition) |
Modifier and Type | Method and Description |
---|---|
Iterable<NamedSQLQueryDefinition> |
Metadata.getNamedNativeQueryDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
MetadataImplementor.addNamedNativeQuery(NamedSQLQueryDefinition def) |
Modifier and Type | Method and Description |
---|---|
NamedSQLQueryDefinition |
MetadataImpl.getNamedNativeQuery(String name) |
Modifier and Type | Method and Description |
---|---|
Iterable<NamedSQLQueryDefinition> |
MetadataImpl.getNamedNativeQueryDefinitions() |
Modifier and Type | Method and Description |
---|---|
void |
MetadataImpl.addNamedNativeQuery(NamedSQLQueryDefinition def) |
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.