ObjectDB Database Search

1-50 of 200 results

JPA Metamodel API Attributes

The following interfaces and enum types represent attributes (persistent fields and properties) in the JPA Metamodel API: See the Metamodel Attribute Interface Hierarchy section for more details and examples.

JPA Metamodel API

to as attributes ). For example: // Get all the attributes - including inherited: Set attributes1 = managedType. getAttributes (); // Get all the attributes - excluding inherited: Set attributes2 = managedType. getDeclaredAttributes (); // Get a specific attribute - including inherited: Attribute

Database Management Settings

attribute specifies the initial size of every new database file. The resize attribute specifies ... resize operations might cause fragmentation of the database file). The page attribute specifies the size ... the database. The element specifies the recovery file settings: The enabled attribute (whose value

InterfaceRef jakarta.persistence.metamodel.Attribute

JPA Interface Attribute Type Parameters: - The represented type that contains the attribute - The type of the represented attribute Represents an attribute of a Java type. Since: JPA 2.0 Public ... which the attribute was declared. Return: declaring type Since: JPA 2.0 Member getJavaMember () Return the java

Graph.addAttributeNode(attribute) - JPA Method

JPA Method in jakarta.persistence.Graph AttributeNode addAttributeNode (    Attribute   attribute ) Get an existing attribute node for the given attribute , or add a new attribute node if there is no existing node. Parameters: attribute - attribute Return: the attribute node Throws

Graph.getAttributeNode(attribute) - JPA Method

JPA Method in jakarta.persistence.Graph AttributeNode getAttributeNode (    Attribute   attribute ) Get an existing attribute node for the given attribute . Parameters: attribute - attribute Return: the attribute node Throws: java.util.NoSuchElementException - if there is no existing node for the attribute Since: JPA 3.2

EnumRef jakarta.persistence.metamodel.Attribute$PersistentAttributeType

.metamodel. Attribute $PersistentAttributeType Since: JPA 2.0 Enum Constants BASIC Basic attribute ... attribute Since: JPA 2.0 MANY_TO_MANY Many-to-many association Since: JPA 2.0 MANY_TO_ONE Many ... ONE_TO_ONE One-to-one association Since: JPA 2.0 Public Static Enum Methods: Attribute .PersistentAttributeType[] values

Subgraph.addSubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.Subgraph Subgraph addSubgraph (    Attribute   attribute ,    Class  type ) Add a node to the graph that corresponds to a managed ... of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass

Subgraph.addKeySubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.Subgraph Subgraph addKeySubgraph (    Attribute   attribute ,    Class  type ) Add a node to the graph that corresponds to a map key ... attributes of superclass subgraphs Parameters: attribute - attribute type - entity subclass Return

Graph.addKeySubgraph(attribute,type) - JPA Method

JPA Method in jakarta.persistence.Graph Subgraph addKeySubgraph (    Attribute   attribute ,    Class  type ) Add a node to the graph that corresponds to a map key ... attributes of superclass subgraphs Parameters: attribute - attribute type - entity subclass Return

Graph.removeAttributeNode(attribute) - JPA Method

JPA Method in jakarta.persistence.Graph void removeAttributeNode (    Attribute   attribute ) Remove an attribute node from the entity graph. When this graph is interpreted as a load graph, this operation suppresses inclusion of an attribute mapped for eager fetching. The effect

Graph.hasAttributeNode(attribute) - JPA Method

JPA Method in jakarta.persistence.Graph boolean hasAttributeNode (    Attribute   attribute ) Determine if there is an existing attribute node for the given attribute . Parameters: attribute - attribute Return: true if there is an existing attribute node Since: JPA 3.2

Graph.addSubgraph(attribute,type) - JPA Method

JPA Method in jakarta.persistence.Graph Subgraph addSubgraph (    Attribute   attribute ,    Class  type ) Add a node to the graph that corresponds to a managed type ... of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass

Graph.addTreatedSubgraph(attribute,type) - JPA Method

JPA Method in jakarta.persistence.Graph Subgraph addTreatedSubgraph (    Attribute   attribute ,    Class  type ) Add a node to the graph that corresponds ... of the entity graph. Subclass subgraphs will automatically include the specified attributes

EntityGraph.addKeySubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addKeySubgraph (    Attribute   attribute ,    Class  type ) Add a node to the graph that corresponds to a map ... that include related managed types. Subclass subgraphs will include the specified attributes

PersistenceUnitUtil.isLoaded(entity,attribute) - JPA Method

,     Attribute   attribute ) Determine the load state of a given persistent attribute of an entity belonging to the persistence unit. Parameters: entity - entity instance containing the attribute attribute - attribute whose load state is to be determined Return: false if entity's

EntityGraph.addSubgraph(attribute,type) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubgraph (    Attribute   attribute ,    Class  type ) Add a node to the graph that corresponds to a managed ... of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass

Subgraph.addSubgraph(attribute) - JPA Method

JPA Method in javax.persistence.Subgraph Subgraph addSubgraph (    Attribute   attribute ) Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types. Parameters: attribute - attribute Return

Subgraph.addKeySubgraph(attribute) - JPA Method

JPA Method in javax.persistence.Subgraph Subgraph addKeySubgraph (    Attribute   attribute ) Add a node to the graph that corresponds to a map key that is a managed type. This allows ... : attribute - attribute Return: subgraph for the key attribute Throws: IllegalArgumentException

Graph.addKeySubgraph(attribute) - JPA Method

JPA Method in jakarta.persistence.Graph Subgraph addKeySubgraph (    Attribute   attribute ) Add a node to the graph that corresponds to a map key that is a managed type. This allows ... : attribute - attribute Return: subgraph for the key attribute Throws: IllegalArgumentException

Graph.addTreatedMapKeySubgraph(attribute,type) - JPA Method

; MapAttribute   attribute ,    Class  type ) Add a node to the graph that corresponds ... the specified attributes of superclass subgraphs Parameters: attribute - attribute type - entity subclass Return: subgraph for the attribute Throws: IllegalArgumentException - if the attribute's target type

Graph.addSubgraph(attribute) - JPA Method

JPA Method in jakarta.persistence.Graph Subgraph addSubgraph (    Attribute   attribute ) Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types. Parameters: attribute - attribute Return

Graph.addAttributeNodes(attribute) - JPA Method

JPA Method in jakarta.persistence.Graph void addAttributeNodes (    Attribute ...  attribute ) Add one or more attribute nodes to the entity graph. If there is already an existing node for one of the given attributes , that particular argument is ignored and has no effect. Parameters

PersistenceUnitUtil.load(entity,attribute) - JPA Method

;    Attribute   attribute ) Load the persistent value of a given persistent attribute ... returns, isLoaded must return true with the given entity instance and attribute . Parameters: entity - entity instance to be loaded attribute - the attribute to be loaded Throws

EntityGraph.addKeySubgraph(attribute) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addKeySubgraph (    Attribute   attribute ) Add a node to the graph that corresponds to a map key that is a managed type ... : attribute - attribute Return: subgraph for the key attribute Throws: IllegalArgumentException

EntityGraph.addSubgraph(attribute) - JPA Method

JPA Method in javax.persistence.EntityGraph Subgraph addSubgraph (    Attribute   attribute ) Add a node to the graph that corresponds to a managed type. This allows for construction of multi-node entity graphs that include related managed types. Parameters: attribute - attribute

Path.get(attribute) - JPA Method

JPA Method in jakarta.persistence.criteria.Path Path get (    SingularAttribute   attribute ) Create a path corresponding to the referenced single-valued attribute . Parameters: attribute - single-valued attribute Return: path corresponding to the referenced attribute Since: JPA 2.0

Attribute.getPersistentAttributeType() - JPA Method

JPA Method in jakarta.persistence.metamodel. Attribute Attribute .PersistentAttributeType getPersistentAttributeType () Return the persistent attribute type for the attribute . Return: persistent attribute type Since: JPA 2.0

Subgraph.addAttributeNodes(attribute) - JPA Method

JPA Method in javax.persistence.Subgraph void addAttributeNodes (    Attribute ...  attribute ) Add one or more attribute nodes to the entity graph. Parameters: attribute - attribute Throws: IllegalStateException - if this EntityGraph has been statically defined Since: JPA 2.1

Graph.addMapKeySubgraph(attribute) - JPA Method

  attribute ) Add a node to the graph that corresponds to a map key that is a managed type ... : attribute - attribute Return: subgraph for the key attribute Throws: IllegalArgumentException - if the attribute's target type is not a managed type entity IllegalStateException - if this EntityGraph has been statically defined Since: JPA 3.2

Graph.addTreatedElementSubgraph(attribute,type) - JPA Method

; PluralAttribute   attribute ,    Class  type ) Add a node to the graph ... graphs that include related managed types. Parameters: attribute - attribute Return: subgraph for the element attribute Throws: IllegalArgumentException - if the attribute's target type is not

Graph.addElementSubgraph(attribute) - JPA Method

  attribute ) Add a node to the graph that corresponds to a collection element ... . Parameters: attribute - attribute Return: subgraph for the element attribute Throws: IllegalArgumentException - if the attribute's target type is not an entity IllegalStateException - if this EntityGraph has been statically defined Since: JPA 3.2

EntityGraph.addAttributeNodes(attribute) - JPA Method

JPA Method in javax.persistence.EntityGraph void addAttributeNodes (    Attribute ...  attribute ) Add one or more attribute nodes to the entity graph. Parameters: attribute - attribute Throws: IllegalStateException - if the EntityGraph has been statically defined Since: JPA 2.1

AttributeConverter.convertToDatabaseColumn(attribute) - JPA Method

JPA Method in jakarta.persistence.AttributeConverter Y convertToDatabaseColumn (   X  attribute ) Converts the value stored in the entity attribute into the data representation to be stored in the database. Parameters: attribute - the entity attribute value to be converted Return

CriteriaUpdate.set(attribute,value) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate set (    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(attribute,value) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate set (    Path   attribute ,    X 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(attribute,value) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate set (    SingularAttribute   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(attribute,value) - JPA Method

JPA Method in jakarta.persistence.criteria.CriteriaUpdate CriteriaUpdate set (    SingularAttribute   attribute ,    X 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

Attribute.isAssociation() - JPA Method

JPA Method in jakarta.persistence.metamodel. Attribute boolean isAssociation () Is the attribute an association. Return: boolean indicating whether the attribute corresponds to an association Since: JPA 2.0

Attribute.isCollection() - JPA Method

JPA Method in jakarta.persistence.metamodel. Attribute boolean isCollection () Is the attribute collection-valued (represents a Collection , Set , List , or Map ). Return: boolean indicating whether the attribute is collection-valued Since: JPA 2.0

From.join(attribute) - JPA Method

JPA Method in jakarta.persistence.criteria.From Join join (    SingularAttribute   attribute ) Create an inner join to the specified single-valued attribute . Parameters: attribute - target of the join Return: the resulting join Since: JPA 2.0

From.join(attribute,jt) - JPA Method

JPA Method in jakarta.persistence.criteria.From Join join (    SingularAttribute   attribute ,     JoinType  jt ) Create a join to the specified single-valued attribute using the given join type. Parameters: attribute - target of the join jt - join type Return: the resulting join Since: JPA 2.0

FetchParent.fetch(attribute,jt) - JPA Method

JPA Method in jakarta.persistence.criteria.FetchParent Fetch fetch (    PluralAttribute   attribute ,     JoinType  jt ) Create a fetch join to the specified collection-valued attribute using the given join type. Parameters: attribute - target of the join jt - join type Return: the resulting join Since: JPA 2.0

FetchParent.fetch(attribute,jt) - JPA Method

JPA Method in jakarta.persistence.criteria.FetchParent Fetch fetch (    SingularAttribute   attribute ,     JoinType  jt ) Create a fetch join to the specified single-valued attribute using the given join type. Parameters: attribute - target of the join jt - join type Return: the resulting fetch join Since: JPA 2.0

FetchParent.fetch(attribute) - JPA Method

JPA Method in jakarta.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

FetchParent.fetch(attribute) - JPA Method

JPA Method in jakarta.persistence.criteria.FetchParent Fetch fetch (    SingularAttribute   attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Parameters: attribute - target of the join Return: the resulting fetch join Since: JPA 2.0

EnumConstRef jakarta.persistence.metamodel.Bindable$BindableType.SINGULAR_ATTRIBUTE

JPA Enum Constant in javax.persistence.metamodel.Bindable $BindableType SINGULAR_ ATTRIBUTE Single-valued attribute type Since: JPA 2.0

EnumConstRef jakarta.persistence.metamodel.Bindable$BindableType.PLURAL_ATTRIBUTE

JPA Enum Constant in javax.persistence.metamodel.Bindable $BindableType PLURAL_ ATTRIBUTE Multi-valued attribute type Since: JPA 2.0

Attribute.getJavaMember() - JPA Method

JPA Method in jakarta.persistence.metamodel. Attribute Member getJavaMember () Return the java.lang.reflect.Member for the represented attribute . Return: corresponding {@link java.lang.reflect.Member} Since: JPA 2.0

EnumConstRef jakarta.persistence.metamodel.Attribute$PersistentAttributeType.BASIC

JPA Enum Constant in javax.persistence.metamodel. Attribute $PersistentAttributeType BASIC Basic attribute Since: JPA 2.0