public class NamedQueryRepository extends Object
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) |
Modifier and Type | Method and Description |
---|---|
Map<String,HibernateException> |
checkNamedQueries(QueryPlanCache queryPlanCache) |
ProcedureCallMemento |
getNamedProcedureCallMemento(String name) |
NamedQueryDefinition |
getNamedQueryDefinition(String queryName) |
NamedSQLQueryDefinition |
getNamedSQLQueryDefinition(String queryName) |
ResultSetMappingDefinition |
getResultSetMappingDefinition(String mappingName) |
void |
registerNamedProcedureCallMemento(String name,
ProcedureCallMemento memento) |
void |
registerNamedQueryDefinition(String name,
NamedQueryDefinition definition) |
void |
registerNamedSQLQueryDefinition(String name,
NamedSQLQueryDefinition definition) |
public NamedQueryRepository(Iterable<NamedQueryDefinition> namedQueryDefinitions, Iterable<NamedSQLQueryDefinition> namedSqlQueryDefinitions, Iterable<ResultSetMappingDefinition> namedSqlResultSetMappings, Map<String,ProcedureCallMemento> namedProcedureCalls)
public NamedQueryRepository(Map<String,NamedQueryDefinition> namedQueryDefinitionMap, Map<String,NamedSQLQueryDefinition> namedSqlQueryDefinitionMap, Map<String,ResultSetMappingDefinition> namedSqlResultSetMappingMap, Map<String,ProcedureCallMemento> namedProcedureCallMap)
public NamedQueryDefinition getNamedQueryDefinition(String queryName)
public NamedSQLQueryDefinition getNamedSQLQueryDefinition(String queryName)
public ProcedureCallMemento getNamedProcedureCallMemento(String name)
public ResultSetMappingDefinition getResultSetMappingDefinition(String mappingName)
public void registerNamedQueryDefinition(String name, NamedQueryDefinition definition)
public void registerNamedSQLQueryDefinition(String name, NamedSQLQueryDefinition definition)
public void registerNamedProcedureCallMemento(String name, ProcedureCallMemento memento)
public Map<String,HibernateException> checkNamedQueries(QueryPlanCache queryPlanCache)
Copyright © 2016 JBoss by Red Hat. All rights reserved.