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.

jakarta.persistence.metamodel.Attribute

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel. Attribute Type Parameters: - The type of the represented attribute - The represented type that contains the attribute Represents an attribute of a Java type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods ManagedType

jakarta.persistence.metamodel.Attribute.PersistentAttributeType

Jakarta Persistence (JPA) Enum in jakarta.persistence.metamodel. Attribute jakarta.persistence.metamodel. Attribute .PersistentAttributeType java.lang.Object ∟ java.lang.Enum ∟ jakarta.persistence.metamodel. Attribute .PersistentAttributeType Implemented Interfaces: Constable , Comparable

jakarta.persistence.Graph.getAttributeNode(Attribute)

(    Attribute attribute ) Get an existing attribute node for the given attribute . Parameters: attribute - attribute Returns: the attribute node. Throws: NoSuchElementException - if there is no existing node for the attribute . Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Graph.addAttributeNode(Attribute)

(    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 Returns: the attribute node. Throws: IllegalStateException - if the EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.PersistenceUnitUtil.isLoaded(E,Attribute)

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

jakarta.persistence.Graph.removeAttributeNode(Attribute)

;  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 ... Graph.addSubgraph . If there is no existing node for the given attribute , this operation has no effect

jakarta.persistence.Graph.hasAttributeNode(Attribute)

Jakarta Persistence (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 Returns: true if there is an existing attribute node. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Graph.addTreatedSubgraph(Attribute,Class)

;  Attribute attribute ,    Class type ) Add a node to the graph that corresponds ... for this node of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs. Parameters: attribute - attribute type - entity subclass Returns: subgraph

jakarta.persistence.Graph.addSubgraph(Attribute,Class)

; Attribute attribute ,    Class type ) Add a node to the graph that corresponds ... of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs Parameters: attribute - attribute type - entity subclass Returns: subgraph

jakarta.persistence.Graph.addKeySubgraph(Attribute,Class)

;  Attribute attribute ,    Class type ) Add a node to the graph that corresponds to a map ... attributes of superclass subgraphs Parameters: attribute - attribute type - entity subclass Returns: subgraph for the attribute . Throws: IllegalStateException - if this EntityGraph has been statically

jakarta.persistence.PersistenceUnitUtil.load(E,Attribute)

;  E entity ,    Attribute attribute ) Load the persistent value of a given persistent attribute of an entity belonging to the persistence unit and to an open persistence context ... and attribute . Parameters: attribute - the attribute to be loaded entity - entity instance to be loaded

jakarta.persistence.Graph.addAttributeNodes(Attribute...)

; 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: attribute - attribute Throws: IllegalStateException - if this EntityGraph has been statically defined. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Graph.addSubgraph(Attribute)

; 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 Returns: subgraph for the attribute . Throws: IllegalStateException - if the EntityGraph

jakarta.persistence.Graph.addKeySubgraph(Attribute)

;  Attribute attribute ) Add a node to the graph that corresponds to a map key that is a managed ... . Parameters: attribute - attribute Returns: subgraph for the key attribute . Throws: IllegalStateException - if this EntityGraph has been statically defined. IllegalArgumentException - if the attribute's

jakarta.persistence.metamodel.Attribute.getPersistentAttributeType()

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

jakarta.persistence.metamodel.Attribute.isAssociation()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute boolean isAssociation() Is the attribute an association. Returns: boolean indicating whether the attribute corresponds to an association. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.isCollection()

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

jakarta.persistence.metamodel.Attribute.getDeclaringType()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute ManagedType getDeclaringType() Return the managed type representing the type in which the attribute was declared. Returns: declaring type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.getJavaType()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute Class getJavaType() Return the Java type of the represented attribute . Returns: Java type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.getJavaMember()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute Member getJavaMember() Return the Member for the represented attribute . Returns: corresponding Member . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.getName()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel. Attribute String getName() Return the name of the attribute . Returns: name. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Bindable.BindableType.SINGULAR_ATTRIBUTE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Bindable.BindableType SINGULAR_ ATTRIBUTE Single-valued attribute type. See Also: SingularAttribute Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Bindable.BindableType.PLURAL_ATTRIBUTE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel.Bindable.BindableType PLURAL_ ATTRIBUTE Multivalued attribute type, that is, a collection. See Also: PluralAttribute Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.BASIC

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType BASIC Basic attribute Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.EMBEDDED

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType EMBEDDED Embeddable class attribute Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.ELEMENT_COLLECTION

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType ELEMENT_COLLECTION Element collection Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.PersistentAttributeType()

Jakarta Persistence (JPA) Constructor in jakarta.persistence.metamodel. Attribute .PersistentAttributeType PersistentAttributeType() Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.MANY_TO_MANY

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType MANY_TO_MANY Many-to-many association Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.ONE_TO_MANY

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType ONE_TO_MANY One-to-many association Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.MANY_TO_ONE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType MANY_TO_ONE Many-to-one association Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.ONE_TO_ONE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence.metamodel. Attribute .PersistentAttributeType ONE_TO_ONE One-to-one association Since: Jakarta Persistence (JPA) 1.0

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

jakarta.persistence.EntityGraph

that will be used as a template to define the attribute nodes and boundaries of a graph of entities ... the corresponding attribute nodes as well; such attribute nodes should not be redundantly specified ... ) Get an existing attribute node for the attribute with the given name, or add a new attribute node

jakarta.persistence.Subgraph

of the attribute . Super Interfaces: Graph This type represents a subgraph for an attribute node ... Instance Methods AttributeNode addAttributeNode ( String attributeName ) Get an existing attribute node for the attribute with the given name, or add a new attribute node if there is no existing node

jakarta.persistence.Graph

Instance Methods AttributeNode addAttributeNode ( String attributeName ) Get an existing attribute node for the attribute with the given name, or add a new attribute node if there is no existing node. Parameters: attributeName - name of the attribute Returns: the attribute node. Throws

jakarta.persistence.metamodel.EntityType

Methods Attribute getAttribute ( String name ) Return the attribute of the managed type ... of the represented attribute Returns: attribute with given name. Throws: IllegalArgumentException - if attribute ... getAttributes () Return the attributes of the managed type. Inherited from ManagedType Returns: attributes

jakarta.persistence.metamodel.IdentifiableType

Persistence (JPA) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return the attribute ... : name - the name of the represented attribute Returns: attribute with given name. Throws: IllegalArgumentException - if attribute of the given name is not present in the managed type. Since: Jakarta

jakarta.persistence.metamodel.MappedSuperclassType

Persistence (JPA) 2.0 Public Instance Methods Attribute getAttribute ( String name ) Return the attribute of the managed type that corresponds to the specified name. Inherited from ManagedType Parameters: name - the name of the represented attribute Returns: attribute with given name. Throws

Entity Management Settings

The element specifies enhancement related settings: The agent attribute (whose value is "true" or "false ... , supported only on selected JVMs. The reflection attribute specifies how non enhanced classes ... . The possible values of the reflection attribute represent different policies: "error" - all persistable

General Settings and Logging

: The path attribute specifies a directory in which the temporary files are generated. The $temp prefix ... a limit size that is specified by the threshold attribute . The mb and kb suffixes represent megabytes and kilobytes (respectively). The element The element has one attribute , inactivity-timeout

Schema Update

... ... A element has two roles: If the optional new-name attribute is specified, the package name is changed from the original name, which is specified by the required name attribute , to the new name ... -name attribute is specified, a element serves as a container of subelements for renaming classes

Server User List

and password attributes specify a username and a password that have to be provided when the user connects to the server. The optional ip attribute , if specified, restricts the user to connect to the server ... the range of 192.18.0.0 to 192.18.194.255 , as well as from 127.0.0.1 . The admin attribute (whose value

jakarta.persistence.metamodel.ManagedType

Attribute getAttribute ( String name ) Return the attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: attribute with given name. Throws: IllegalArgumentException - if attribute of the given name is not present in

jakarta.persistence.metamodel.EmbeddableType

Attribute getAttribute ( String name ) Return the attribute of the managed type that corresponds to the specified name. Inherited from ManagedType Parameters: name - the name of the represented attribute Returns: attribute with given name. Throws: IllegalArgumentException - if attribute of the given name

jakarta.persistence.criteria.PluralJoin

testing for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join

jakarta.persistence.criteria.MapJoin

for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta

jakarta.persistence.criteria.SetJoin

for equality. Since: Jakarta Persistence (JPA) 3.2 Fetch fetch ( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta

jakarta.persistence.criteria.CollectionJoin

( SingularAttribute attribute ) Create a fetch join to the specified single-valued attribute using an inner join. Inherited from FetchParent Parameters: attribute - target of the join Returns: the resulting fetch join. Since: Jakarta Persistence (JPA) 1.0 Fetch fetch ( SingularAttribute attribute , JoinType