Class NamedNativeQueryMetadata

  • Direct Known Subclasses:
    NamedPLSQLStoredProcedureQueryMetadata, NamedStoredProcedureQueryMetadata

    public class NamedNativeQueryMetadata
    extends NamedQueryMetadata
    INTERNAL: Object to hold onto named native query metadata. 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 EJB 3.0 Reference Implementation
    Author:
    Guy Pelletier
    • Constructor Detail

      • NamedNativeQueryMetadata

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

        protected NamedNativeQueryMetadata​(String javaClassName)
        INTERNAL:
    • Method Detail

      • getResultClass

        public MetadataClass getResultClass()
        INTERNAL:
      • getResultClassName

        public String getResultClassName()
        INTERNAL: Used for OX mapping.
      • getResultSetMapping

        public String getResultSetMapping()
        INTERNAL: Used for OX mapping.
      • hasResultSetMapping

        protected boolean hasResultSetMapping​(AbstractSession session)
        INTERNAL: Return true is a result set mapping has been specified.
      • setResultClass

        public void setResultClass​(MetadataClass resultClass)
        INTERNAL:
      • setResultClassName

        public void setResultClassName​(String resultClassName)
        INTERNAL: Used for OX mapping.
      • setResultSetMapping

        public void setResultSetMapping​(String resultSetMapping)
        INTERNAL: Used for OX mapping.