Class NamedQueryMetadata

  • Direct Known Subclasses:
    NamedNativeQueryMetadata

    public class NamedQueryMetadata
    extends ORMetadata
    INTERNAL: Object to hold onto a named 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