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
  • Constructor Details

    • NamedNativeQueryMetadata

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

      public NamedNativeQueryMetadata(MetadataAnnotation namedNativeQuery, MetadataAccessor accessor)
      INTERNAL: Used for annotation loading.
    • NamedNativeQueryMetadata

      protected NamedNativeQueryMetadata(String javaClassName)
      INTERNAL:
  • Method Details