Top Description Inners Fields Constructors Methods
org.hibernate.boot.internal

public Class NamedProcedureCallDefinitionImpl

extends Object
implements NamedProcedureCallDefinition
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.query.NamedProcedureCallDefinition, org.hibernate.boot.query.NamedQueryDefinition
Imports
java.util.ArrayList, .HashSet, .List, .Map, .Set, org.hibernate.CacheMode, .FlushMode, .MappingException, org.hibernate.boot.model.internal.QueryHintDefinition, org.hibernate.boot.query.NamedProcedureCallDefinition, org.hibernate.engine.spi.SessionFactoryImplementor, org.hibernate.internal.util.StringHelper, org.hibernate.procedure.internal.NamedCallableQueryMementoImpl, .Util, org.hibernate.procedure.spi.NamedCallableQueryMemento, .ParameterStrategy, org.hibernate.query.results.ResultSetMapping, jakarta.persistence.NamedStoredProcedureQuery, .ParameterMode, .StoredProcedureParameter

Holds all the information needed from a named procedure call declaration in order to create a org.hibernate.procedure.internal.ProcedureCallImpl
Author
Steve Ebersole
See Also
jakarta.persistence.NamedStoredProcedureQuery

Nested and Inner Type Summary

Modifier and TypeClass and Description
pack-priv static class
pack-priv static class

Field Summary

Modifier and TypeField and Description
private final Map<String, Object>
private final NamedProcedureCallDefinitionImpl.ParameterDefinitions
private final String
private final String
private final Class<?>[]
private final String[]

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private ResultSetMapping
buildResultSetMapping(String registeredName, SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
public String
getProcedureName()

Implements org.hibernate.boot.query.NamedProcedureCallDefinition.getProcedureName.

The name of the underlying database procedure or function name
public String
getRegistrationName()

Implements org.hibernate.boot.query.NamedQueryDefinition.getRegistrationName.

The name under which the query is to be registered
private static String
public NamedCallableQueryMemento
resolve(SessionFactoryImplementor sessionFactory)

Implements org.hibernate.boot.query.NamedProcedureCallDefinition.resolve.

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Resolve the mapping definition into its run-time memento form
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hintsback to summary
private final Map<String, Object> hints
parameterDefinitionsback to summary
private final NamedProcedureCallDefinitionImpl.ParameterDefinitions parameterDefinitions
procedureNameback to summary
private final String procedureName
registeredNameback to summary
private final String registeredName
resultClassesback to summary
private final Class<?>[] resultClasses
resultSetMappingsback to summary
private final String[] resultSetMappings

Constructor Detail

NamedProcedureCallDefinitionImplback to summary
public NamedProcedureCallDefinitionImpl(NamedStoredProcedureQuery annotation)

Method Detail

buildResultSetMappingback to summary
private ResultSetMapping buildResultSetMapping(String registeredName, SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

getProcedureNameback to summary
public String getProcedureName()

Implements org.hibernate.boot.query.NamedProcedureCallDefinition.getProcedureName.

Doc from org.hibernate.boot.query.NamedProcedureCallDefinition.getProcedureName.

The name of the underlying database procedure or function name

Annotations
@Override
getRegistrationNameback to summary
public String getRegistrationName()

Implements org.hibernate.boot.query.NamedQueryDefinition.getRegistrationName.

Doc from org.hibernate.boot.query.NamedQueryDefinition.getRegistrationName.

The name under which the query is to be registered

Annotations
@Override
normalizeback to summary
private static String normalize(String name)
resolveback to summary
public NamedCallableQueryMemento resolve(SessionFactoryImplementor sessionFactory)

Implements org.hibernate.boot.query.NamedProcedureCallDefinition.resolve.

Doc from org.hibernate.boot.query.NamedQueryDefinition.resolve.

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

Resolve the mapping definition into its run-time memento form

Annotations
@Override
org.hibernate.boot.internal back to summary

pack-priv Class NamedProcedureCallDefinitionImpl.ParameterDefinition<T>

extends Object
Class Inheritance
  • java.lang.Object
  • org.hibernate.boot.internal.NamedProcedureCallDefinitionImpl.ParameterDefinition

Field Summary

Modifier and TypeField and Description
private final String
private final ParameterMode
private final Integer
private final Class<T>

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public NamedCallableQueryMemento.ParameterMemento
toMemento(SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

nameback to summary
private final String name
parameterModeback to summary
private final ParameterMode parameterMode
positionback to summary
private final Integer position
typeback to summary
private final Class<T> type

Constructor Detail

ParameterDefinitionback to summary
pack-priv ParameterDefinition(int position, StoredProcedureParameter annotation)
Annotations
@SuppressWarnings:unchecked

Method Detail

toMementoback to summary
public NamedCallableQueryMemento.ParameterMemento toMemento(SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.

org.hibernate.boot.internal back to summary

pack-priv Class NamedProcedureCallDefinitionImpl.ParameterDefinitions

extends Object
Class Inheritance
  • java.lang.Object
  • org.hibernate.boot.internal.NamedProcedureCallDefinitionImpl.ParameterDefinitions

Field Summary

Modifier and TypeField and Description
private final NamedProcedureCallDefinitionImpl.ParameterDefinition<?>[]
private final ParameterStrategy

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
public ParameterStrategy
public List<NamedCallableQueryMemento.ParameterMemento>
toMementos(SessionFactoryImplementor sessionFactory)

Deprecated as a consequence of SessionFactoryImplementor being deprecated.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

parameterDefinitionsback to summary
private final NamedProcedureCallDefinitionImpl.ParameterDefinition<?>[] parameterDefinitions
parameterStrategyback to summary
private final ParameterStrategy parameterStrategy

Constructor Detail

ParameterDefinitionsback to summary
pack-priv ParameterDefinitions(StoredProcedureParameter[] parameters)

Method Detail

getParameterStrategyback to summary
public ParameterStrategy getParameterStrategy()
toMementosback to summary
public List<NamedCallableQueryMemento.ParameterMemento> toMementos(SessionFactoryImplementor sessionFactory)

Deprecated

as a consequence of SessionFactoryImplementor being deprecated. See corresponding docs for further information.