Class NamedStoredProcedureQueryMetadata

  • Direct Known Subclasses:
    NamedStoredFunctionQueryMetadata

    public class NamedStoredProcedureQueryMetadata
    extends NamedNativeQueryMetadata
    INTERNAL: Object to hold onto a named 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:
    TopLink 11g
    Author:
    Guy Pelletier
    • Constructor Detail

      • NamedStoredProcedureQueryMetadata

        public NamedStoredProcedureQueryMetadata()
        INTERNAL: Used for XML loading.
      • NamedStoredProcedureQueryMetadata

        public NamedStoredProcedureQueryMetadata​(String elementName)
        INTERNAL: Used for XML loading.
    • Method Detail

      • callByIndex

        public boolean callByIndex()
        INTERNAL:
      • getCallByIndex

        public Boolean getCallByIndex()
        INTERNAL: Used for OX mapping.
      • getMultipleResultSets

        public Boolean getMultipleResultSets()
        INTERNAL: Used for OX mapping
      • getProcedureName

        public String getProcedureName()
        INTERNAL: Used for OX mapping.
      • getResultClassNames

        public List<String> getResultClassNames()
        INTERNAL: Used for OX mapping.
      • getResultSetMappings

        public List<String> getResultSetMappings()
        INTERNAL: Used for OX mapping.
      • getReturnsResultSet

        public Boolean getReturnsResultSet()
        INTERNAL: Used for OX mapping
      • hasMultipleResultSets

        public boolean hasMultipleResultSets()
        INTERNAL: If there is no user setting and there are not multiple result classes or result set mappings, assume a single result is returned. There is no way to set this parameter via JPA, only through EclipseLink's metadata.
      • returnsResultSet

        public boolean returnsResultSet​(boolean hasOutParameters)
        INTERNAL: If there is no user setting and there are no out parameters, assume a result set is returned. There is no way to set this parameter via JPA, only through EclipseLink's metadata.
      • setCallByIndex

        public void setCallByIndex​(Boolean callByIndex)
        INTERNAL: Used for OX mapping.
      • setMultipleResultSets

        public void setMultipleResultSets​(Boolean multipleResultSets)
        INTERNAL: Used for OX mapping
      • setProcedureName

        public void setProcedureName​(String procedureName)
        INTERNAL: Used for OX mapping.
      • setResultClassNames

        public void setResultClassNames​(List<String> resultClassNames)
        INTERNAL: Used for OX mapping.
      • setResultSetMappings

        public void setResultSetMappings​(List<String> resultSetMappings)
        INTERNAL: Used for OX mapping.
      • setReturnsResultSet

        public void setReturnsResultSet​(Boolean returnsResultSet)
        INTERNAL: Used for OX mapping.