Internal Website 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

javax.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

javax.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

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

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

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 javax.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 javax.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

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 javax.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 javax.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 javax.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 javax.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 javax.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 javax.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 javax.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 javax.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 javax.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 javax.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 javax.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 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

FetchParent.fetch(attribute) - JPA Method

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

javax.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

javax.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 javax.persistence.metamodel. Attribute Member getJavaMember () Return the java.lang.reflect.Member for the represented attribute . Return: corresponding java.lang.reflect.Member Since: JPA 2.0

javax.persistence.metamodel.Attribute$PersistentAttributeType.BASIC

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

javax.persistence.metamodel.Attribute$PersistentAttributeType.EMBEDDED

JPA Enum Constant in javax.persistence.metamodel. Attribute $PersistentAttributeType EMBEDDED Embeddable class attribute Since: JPA 2.0

Attribute.getJavaType() - JPA Method

JPA Method in javax.persistence.metamodel. Attribute Class getJavaType () Return the Java type of the represented attribute . Return: Java type Since: JPA 2.0

Attribute.getDeclaringType() - JPA Method

JPA Method in javax.persistence.metamodel. Attribute ManagedType getDeclaringType () Return the managed type representing the type in which the attribute was declared. Return: declaring type Since: JPA 2.0

Attribute.getName() - JPA Method

JPA Method in javax.persistence.metamodel. Attribute String getName () Return the name of the attribute . Return: name Since: JPA 2.0

javax.persistence.metamodel.Attribute$PersistentAttributeType.MANY_TO_ONE

JPA Enum Constant in javax.persistence.metamodel. Attribute $PersistentAttributeType MANY_TO_ONE Many-to-one association Since: JPA 2.0

javax.persistence.metamodel.Attribute$PersistentAttributeType.ONE_TO_MANY

JPA Enum Constant in javax.persistence.metamodel. Attribute $PersistentAttributeType ONE_TO_MANY One-to-many association Since: JPA 2.0

javax.persistence.metamodel.Attribute$PersistentAttributeType.ELEMENT_COLLECTION

JPA Enum Constant in javax.persistence.metamodel. Attribute $PersistentAttributeType ELEMENT_COLLECTION Element collection Since: JPA 2.0

javax.persistence.metamodel.Attribute$PersistentAttributeType.MANY_TO_MANY

JPA Enum Constant in javax.persistence.metamodel. Attribute $PersistentAttributeType MANY_TO_MANY Many-to-many association Since: JPA 2.0

javax.persistence.metamodel.Attribute$PersistentAttributeType.ONE_TO_ONE

JPA Enum Constant in javax.persistence.metamodel. Attribute $PersistentAttributeType ONE_TO_ONE One-to-one association Since: JPA 2.0

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

: The required username 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 admin attribute (whose value is "true" or "false" ) specifies if the user is a superuser

Index Definition

" is specified (the default is false ). The optional name attribute has no specific role ... on more than one persistent field. It is defined by specifying multiple fields in the members attribute ... explicitly in the members attribute , as shown above, the @Index or @Unique annotation can be attached

[ODB1] Chapter 8 - ObjectDB Server

lists all the registered users. The element All attributes and sub elements shown in the above element are required. The port attribute specifies the TPC port on which the server will be listening ... string (as explained in section 5.1 ) when connecting to the database. The reload attribute specifies

[ODB1] Chapter 4 - JDO Metadata

elements. Both and elements have a required name attribute . The metadata above defines class A (in ... name attribute , a element can have one or more of the following optional attributes : persistence-capable-superclass The persistence-capable-superclass attribute usually specifies the direct super