JavaScript is disabled on your browser.
Skip navigation links
javax.persistence

Annotation Type NamedEntityGraph

    • Optional Element Summary

      Optional Elements
      Modifier and Type Optional Element and Description
      NamedAttributeNode[] attributeNodes
      (Optional) A list of attributes of the entity that are included in this graph.
      boolean includeAllAttributes
      (Optional) Includes all of the attributes of the annotated entity class as attribute nodes in the NamedEntityGraph without the need to explicitly list them.
      String name
      (Optional) The name of the entity graph.
      NamedSubgraph[] subclassSubgraphs
      (Optional) A list of subgraphs that will add additional attributes for subclasses of the annotated entity class to the entity graph.
      NamedSubgraph[] subgraphs
      (Optional) A list of subgraphs that are included in the entity graph.
    • Element Detail

      • name

        public abstract String name
        (Optional) The name of the entity graph. Defaults to the entity name of the root entity.
        Default:
        ""
      • attributeNodes

        public abstract NamedAttributeNode[] attributeNodes
        (Optional) A list of attributes of the entity that are included in this graph.
        Default:
        {}
      • includeAllAttributes

        public abstract boolean includeAllAttributes
        (Optional) Includes all of the attributes of the annotated entity class as attribute nodes in the NamedEntityGraph without the need to explicitly list them. Included attributes can still be fully specified by an attribute node referencing a subgraph.
        Default:
        false
      • subgraphs

        public abstract NamedSubgraph[] subgraphs
        (Optional) A list of subgraphs that are included in the entity graph. These are referenced by name from NamedAttributeNode definitions.
        Default:
        {}
      • subclassSubgraphs

        public abstract NamedSubgraph[] subclassSubgraphs
        (Optional) A list of subgraphs that will add additional attributes for subclasses of the annotated entity class to the entity graph. Specified attributes from superclasses are included in subclasses.
        Default:
        {}
Skip navigation links

Copyright © 1996-2015, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.

AltStyle によって変換されたページ (->オリジナル) /