Internal Website Search
101-150 of 200 resultsAccessiblity of attributes in entities in several OSGi-BundlesAccessiblity of attributes in entities in several OSGi-Bundles | |
javax.persistence.metamodel.MappedSuperclassType) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute Return: declared id attribute Throws: IllegalArgumentException - if id attribute of the given type is not declared in | |
javax.persistence.metamodel.EntityType. Since: JPA 2.0 Public Methods SingularAttribute getDeclaredId (Class type) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute Return: declared id attribute Throws | |
javax.persistence.criteria.Fetch Super Interfaces: FetchParent Represents a join-fetched association or attribute . Since: JPA 2.0 Public Methods Fetch fetch ( PluralAttribute attribute ) Create a fetch join to the specified collection-valued attribute using an inner join. Parameters: attribute - target of the join Return | |
javax.persistence.metamodel.SingularAttribute JPA Interface SingularAttribute Type Parameters: - The type containing the represented attribute - The type of the represented attribute Super Interfaces: Attribute , Bindable Instances of the type ... type of the object is PLURAL_ ATTRIBUTE , the Java element type is returned. If the bindable type | |
javax.persistence.Convert conversion of the following: Id attributes , version attributes , relationship attributes , and attributes explicitly denoted as Enumerated or Temporal. Applications that specify such conversions will not be portable. The Convert annotation may be applied to a basic attribute or to an element | |
javax.persistence.criteria.FetchParent Fetch fetch ( PluralAttribute attribute ) Create a fetch join to the specified collection-valued attribute using an inner join. Parameters: attribute - target of the join Return: the resulting join Since: JPA 2.0 Fetch fetch ( PluralAttribute attribute , JoinType jt) Create | |
javax.persistence.criteria.CriteriaUpdate (Path attribute , Expression value) Update the value of the specified attribute . Parameters: attribute - attribute to be updated value - new value Return: the modified update query Since: JPA 2.1 CriteriaUpdate set (Path attribute , X value) Update the value | |
javax.persistence.criteria.Path compound attribute path from a bound type or collection, and is a "primitive" expression. Since: JPA 2.0 ... attribute . Parameters: map - map-valued attribute Return: expression corresponding to the referenced attribute Since: JPA 2.0 Expression get ( PluralAttribute collection) Create a path corresponding | |
javax.persistence.Converter to all mapped attributes of the specified target type for all entities in the persistence unit except for attributes for which conversion is overridden by means of the Convert annotation (or XML equivalent). In determining whether a converter is applicable to an attribute , the provider must treat | |
javax.persistence.AttributeNode JPA Interface AttributeNode Type Parameters: - The type of the attribute . Represents an attribute ... Methods String getAttributeName () Return the name of the attribute corresponding to the attribute node. Return: name of the attribute Since: JPA 2.1 Map getKeySubgraphs () Return the Map of subgraphs | |
javax.persistence.MapsId a ManyToOne or OneToOne relationship attribute that provides the mapping for an EmbeddedId primary key, an attribute within an EmbeddedId primary key, or a simple primary key of the parent entity. The value element specifies the attribute within a composite key to which the relationship attribute | |
javax.persistence.AttributeConverter JPA Interface AttributeConverter Type Parameters: - the type of the entity attribute - the type of the database column A class that implements this interface can be used to convert entity attribute ... may be the same Java type. Since: JPA 1.0 Public Methods Y convertToDatabaseColumn (X attribute ) Converts | |
javax.persistence.NamedEntityGraph the path and boundaries for a find operation or query. Since: JPA 2.1 Public Annotation Attributes NamedAttributeNode [] attributeNodes default {} (Optional) A list of attributes of the entity ... ) Includes all of the attributes of the annotated entity class as attribute nodes in the NamedEntityGraph | |
javax.persistence.PersistenceUtil to determine the load state of an entity or entity attribute regardless of which persistence provider in ... of an entity passed as a reference. An entity is considered loaded if all attributes for which FetchType.EAGER ... to determine the load state of an attribute . Not doing so might lead to unintended loading of state. Parameters | |
javax.persistence.NamedAttributeNode Annotation Attributes String keySubgraph default "" (Optional) If the attribute references a Map type ... . A keySubgraph can not be specified without the Map attribute also being specified. If the target type ... subclass-specific attributes . Superclass subgraph entries will be merged into subclass subgraphs | |
SingularAttribute.isId() - JPA Method JPA Method in javax.persistence.metamodel.SingularAttribute boolean isId () Is the attribute an id attribute . This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Return: boolean indicating whether the attribute is an id Since: JPA 2.0 | |
javax.persistence.PersistenceUnitUtil the load state of an entity passed as a reference. An entity is considered loaded if all attributes ... should be used to determine the load state of an attribute . Not doing so might lead to unintended loading ... ;String attributeName) Determine the load state of a given persistent attribute of an entity | |
Subgraph.addKeySubgraph(attributeName,type) - JPA Method that include related managed types. Subclass subgraphs will include the specified attributes of superclass subgraphs Parameters: attributeName - name of the attribute type - entity subclass Return: subgraph for the attribute Throws: IllegalArgumentException - if the attribute is not an attribute | |
Subgraph.addSubgraph(attributeName,type) - JPA Method of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs Parameters: attributeName - name of the attribute type - entity subclass Return: subgraph for the attribute Throws: IllegalArgumentException - if the attribute is not an attribute | |
EntityGraph.addKeySubgraph(attributeName,type) - JPA Method attributes of superclass subgraphs Parameters: attributeName - name of the attribute type - entity subclass Return: subgraph for the key attribute Throws: IllegalArgumentException - if the attribute is not an attribute of this entity. IllegalArgumentException - if the attribute's target type is not | |
EntityGraph.addSubgraph(attributeName,type) - JPA Method of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs. Parameters: attributeName - name of the attribute type - entity subclass Return: subgraph for the attribute Throws: IllegalArgumentException - if the attribute is not an attribute | |
javax.persistence.AttributeOverride class (or embeddable class of one of its attributes ). May be applied to an element collection ... the name of the attribute that is being overridden in order to specify it as part of the map key or map ... in the name element to indicate an attribute within an embedded attribute . The value of each | |
javax.persistence.metamodel.Bindable JPA Interface Bindable Type Parameters: - The type of the represented object or attribute Instances of the type Bindable represent object or attribute types that can be bound into a javax ... of the represented object. If the bindable type of the object is PLURAL_ ATTRIBUTE , the Java element | |
javax.persistence.OrderBy to refer to an attribute within an embedded attribute . The value of each identifier used ... to specify the attribute or attributes that determine the ordering. The OrderBy annotation is not used ... ; } See Also: OrderColumn Since: JPA 1.0 Public Annotation Attributes String value default "" An orderby | |
javax.persistence.AssociationOverride to indicate an attribute within an embedded attribute . The value of each identifier used with the dot ... the name of the attribute within the embeddable class that is being overridden in order to specify ... AttributeOverride Since: JPA 1.0 Public Annotation Attributes ForeignKey foreignKey default | |
Subgraph.addSubgraph(attributeName) - JPA Method of the attribute Return: subgraph for the attribute Throws: IllegalArgumentException - if the attribute is not an attribute of this managed type. IllegalArgumentException - if the attribute's target type | |
Subgraph.addKeySubgraph(attributeName) - JPA Method: attributeName - name of the attribute Return: subgraph for the key attribute Throws: IllegalArgumentException - if the attribute is not an attribute of this entity. IllegalArgumentException - if the attribute's target type is not a managed type IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1 | |
EntityGraph.addKeySubgraph(attributeName) - JPA Method: attributeName - name of the attribute Return: subgraph for the key attribute Throws: IllegalArgumentException - if the attribute is not an attribute of this entity. IllegalArgumentException - if the attribute's target type is not an entity IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1 | |
EntityGraph.addSubgraph(attributeName) - JPA Method of the attribute Return: subgraph for the attribute Throws: IllegalArgumentException - if the attribute is not an attribute of this entity. IllegalArgumentException - if the attribute's target type is not | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
ManagedType | |
IdentifiableType | |
javax.persistence.NamedEntityGraph.includeAllAttributes JPA Annotation Attribute in javax.persistence.NamedEntityGraph boolean includeAllAttributes default false (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 | |
IdentifiableType | |
IdentifiableType | |
IdentifiableType | |
javax.persistence.metamodel.PluralAttribute | |
SingularAttribute.isVersion() - JPA Method JPA Method in javax.persistence.metamodel.SingularAttribute boolean isVersion () Is the attribute a version attribute . Return: boolean indicating whether the attribute is a version attribute Since: JPA 2.0 | |
PersistenceUtil.isLoaded(entity,attributeName) - JPA Method attribute . Parameters: entity - entity containing the attribute attributeName - name of attribute whose load state is to be determined Return: false if entity's state has not been loaded or if the attribute state has not been loaded, else true Since: JPA 2.0 | |
Path | |
PersistenceUnitUtil.isLoaded(entity,attributeName) - JPA Method attribute of an entity belonging to the persistence unit. Parameters: entity - entity instance containing the attribute attributeName - name of attribute whose load state is to be determined Return: false if entity's state has not been loaded or if the attribute state has not been loaded, else true Since: JPA 2.0 | |
javax.persistence.metamodel.Bindable | |
javax.persistence.CollectionTable to the embeddable class or basic type are derived from the attributes of the embeddable class or ... annotation is used on the collection-valued attribute in addition to the ElementCollection annotation ... Annotation Attributes String catalog default "" (Optional) The catalog of the table. If not specified | |
Subgraph.addAttributeNodes(attributeName) - JPA Method JPA Method in javax.persistence.Subgraph void addAttributeNodes ( String... attributeName ) Add one or more attribute nodes to the entity graph. Parameters: attributeName - name of the attribute Throws: IllegalArgumentException - if the attribute is not an attribute | |
javax.persistence.NamedSubgraph.attributeNodes JPA Annotation Attribute in javax.persistence.NamedSubgraph NamedAttributeNode [] attributeNodes default null (Required) The list of the attributes of the class that must be included. If the named subgraph corresponds to a subclass of the class referenced by the corresponding attribute node, then only subclass-specific attributes are listed. Since: JPA 2.1 |