Module org.eclipse.persistence.jpa
Class NamedPLSQLStoredProcedureQueryMetadata
java.lang.Object
org.eclipse.persistence.internal.jpa.metadata.ORMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.NamedQueryMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.NamedNativeQueryMetadata
org.eclipse.persistence.internal.jpa.metadata.queries.NamedPLSQLStoredProcedureQueryMetadata
- Direct Known Subclasses:
NamedPLSQLStoredFunctionQueryMetadata
INTERNAL:
Object to hold onto a named PLSQL stored procedure query.
Key notes:
- any metadata mapped from XML to this class must be compared in the
equals method.
- all metadata mapped from XML should be initialized in the initXMLObject
method.
- when loading from annotations, the constructor accepts the metadata
accessor this metadata was loaded from. Used it to look up any
'companion' annotation needed for processing.
- methods should be preserved in alphabetical order.
- Since:
- EclipseLink 2.3
-
Field Summary
Fields inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
m_project
-
Constructor Summary
ConstructorDescriptionINTERNAL: Used for XML loading.NamedPLSQLStoredProcedureQueryMetadata
(String elementName) INTERNAL: Used for OX mapping.NamedPLSQLStoredProcedureQueryMetadata
(MetadataAnnotation namedStoredProcedureQuery, MetadataAccessor accessor) INTERNAL: -
Method Summary
Modifier and TypeMethodDescriptionboolean
INTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.int
hashCode()
void
initXMLObject
(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:void
process
(AbstractSession session) INTERNAL:void
setParameters
(List<PLSQLParameterMetadata> parameters) INTERNAL: Used for OX mapping.void
setProcedureName
(String procedureName) INTERNAL: Used for OX mapping.Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.NamedNativeQueryMetadata
getResultClass, getResultClassName, getResultSetMapping, hasResultSetMapping, setResultClass, setResultClassName, setResultSetMapping
Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.NamedQueryMetadata
addJPAQuery, getHints, getIdentifier, getLockMode, getName, getQuery, processQueryHints, setHints, setLockMode, setName, setQuery
Methods inherited from class org.eclipse.persistence.internal.jpa.metadata.ORMetadata
getAccessibleObject, getAccessibleObjectName, getAnnotation, getBoxedType, getDatabaseTypeEnum, getEntityMappings, getFullyQualifiedClassName, getJavaClass, getJavaClassName, getLoader, getLocation, getLogger, getMetadataClass, getMetadataClass, getMetadataClass, getMetadataFactory, getName, getPrimitiveClassForName, getProject, getText, getXMLElement, hasIdentifier, hasText, initXMLClassName, initXMLObject, initXMLObjects, initXMLTextObject, loadedFromAnnotation, loadedFromEclipseLinkXML, loadedFromXML, merge, mergeORObjectLists, mergeORObjects, mergeSimpleObjects, reloadEntity, reloadMappedSuperclass, setAccessibleObject, setEntityMappings, setFieldName, setFieldName, setProject, shouldOverride, valuesMatch, valuesMatch
-
Constructor Details
-
NamedPLSQLStoredProcedureQueryMetadata
public NamedPLSQLStoredProcedureQueryMetadata()INTERNAL: Used for XML loading. -
NamedPLSQLStoredProcedureQueryMetadata
INTERNAL: Used for OX mapping. -
NamedPLSQLStoredProcedureQueryMetadata
public NamedPLSQLStoredProcedureQueryMetadata(MetadataAnnotation namedStoredProcedureQuery, MetadataAccessor accessor) INTERNAL:
-
-
Method Details
-
equals
INTERNAL:- Overrides:
equals
in classNamedNativeQueryMetadata
-
hashCode
public int hashCode()- Overrides:
hashCode
in classNamedNativeQueryMetadata
-
getProcedureName
INTERNAL: Used for OX mapping. -
getParameters
INTERNAL: Used for OX mapping. -
initXMLObject
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:- Overrides:
initXMLObject
in classNamedNativeQueryMetadata
-
process
INTERNAL:- Overrides:
process
in classNamedNativeQueryMetadata
-
setProcedureName
INTERNAL: Used for OX mapping. -
setParameters
INTERNAL: Used for OX mapping.
-