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
ConstructorsConstructorDescriptionINTERNAL: Used for XML loading.NamedPLSQLStoredProcedureQueryMetadata(String elementName) INTERNAL: Used for OX mapping.NamedPLSQLStoredProcedureQueryMetadata(MetadataAnnotation namedStoredProcedureQuery, MetadataAccessor accessor) INTERNAL: -
Method Summary
Modifier and TypeMethodDescriptionbooleanINTERNAL:INTERNAL: Used for OX mapping.INTERNAL: Used for OX mapping.inthashCode()voidinitXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:voidprocess(AbstractSession session) INTERNAL:voidsetParameters(List<PLSQLParameterMetadata> parameters) INTERNAL: Used for OX mapping.voidsetProcedureName(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, setResultSetMappingMethods inherited from class org.eclipse.persistence.internal.jpa.metadata.queries.NamedQueryMetadata
addJPAQuery, getHints, getIdentifier, getLockMode, getName, getQuery, processQueryHints, setHints, setLockMode, setName, setQueryMethods 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:
equalsin classNamedNativeQueryMetadata
-
hashCode
public int hashCode()- Overrides:
hashCodein classNamedNativeQueryMetadata
-
getProcedureName
INTERNAL: Used for OX mapping. -
getParameters
INTERNAL: Used for OX mapping. -
initXMLObject
public void initXMLObject(MetadataAccessibleObject accessibleObject, XMLEntityMappings entityMappings) INTERNAL:- Overrides:
initXMLObjectin classNamedNativeQueryMetadata
-
process
INTERNAL:- Overrides:
processin classNamedNativeQueryMetadata
-
setProcedureName
INTERNAL: Used for OX mapping. -
setParameters
INTERNAL: Used for OX mapping.
-