ObjectDB Database Search

151-200 of 200 results

jakarta.persistence.metamodel.IdentifiableType.getVersion(Class)

SingularAttribute getVersion (    Class type ) Return the attribute that corresponds to the version attribute of the entity or mapped superclass. Parameters: type - the type of the represented version attribute Returns: version attribute . Throws: IllegalArgumentException - if version attribute

jakarta.persistence.metamodel.ManagedType.getSingularAttribute(String,Class)

attribute of the managed type that corresponds to the specified name and Java type. Parameters: name - the name of the represented attribute type - the type of the represented attribute Returns: single-valued attribute with given name and type. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute(String,Class)

-valued attribute declared by the managed type that corresponds to the specified name and Java type. Parameters: name - the name of the represented attribute type - the type of the represented attribute Returns: declared single-valued attribute of the given name and type. Throws

jakarta.persistence.metamodel.ManagedType.getMap(String,Class,Class)

the Map-valued attribute of the managed type that corresponds to the specified name and Java key and value types. Parameters: name - the name of the represented attribute keyType - the key type of the represented attribute valueType - the value type of the represented attribute Returns: MapAttribute

jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String,Class,Class)

) Return the Map-valued attribute declared by the managed type that corresponds to the specified name and Java key and value types. Parameters: name - the name of the represented attribute keyType - the key type of the represented attribute valueType - the value type of the represented attribute Returns

jakarta.persistence.criteria.Path.get(SingularAttribute)

Jakarta Persistence (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 Returns: path corresponding to the referenced attribute . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.Graph.addAttributeNodes(String...)

; String... attributeName ) Add one or more attribute nodes to the entity graph. If there is already an existing node for one of the given attribute names, that particular argument is ignored and has no effect. Parameters: attributeName - name of the attribute Throws: IllegalStateException

jakarta.persistence.Graph.addElementSubgraph(PluralAttribute)

;  PluralAttribute attribute ) Add a node to the graph that corresponds to a collection element ... related managed types. Parameters: attribute - attribute Returns: subgraph for the element attribute ... . IllegalArgumentException - if the attribute's target type is not an entity. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.Graph.addTreatedElementSubgraph(PluralAttribute,Class)

(    PluralAttribute attribute ,    Class type ) Add a node to the graph ... entity graphs that include related managed types. Parameters: attribute - attribute Returns: subgraph for the element attribute . Throws: IllegalStateException - if this EntityGraph has been statically

jakarta.persistence.Graph.addMapKeySubgraph(MapAttribute)

;  MapAttribute attribute ) Add a node to the graph that corresponds to a map key ... . Parameters: attribute - attribute Returns: subgraph for the key attribute . Throws ... - if the attribute's target type is not a managed type entity. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getSingularAttribute(String)

getSingularAttribute (    String name ) Return the single-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: single-valued attribute with the given name. Throws: IllegalArgumentException

jakarta.persistence.metamodel.ManagedType.getDeclaredSingularAttribute(String)

getDeclaredSingularAttribute (    String name ) Return the single-valued attribute declared ... of the represented attribute Returns: declared single-valued attribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not declared in the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getPluralAttributes()

getPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes ) of the managed type. Returns empty set if the managed type has no multi-valued attributes . Returns: Collection-, Set-, List-, and Map-valued attributes . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredPluralAttributes()

getDeclaredPluralAttributes() Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes ) declared by the managed type. Returns empty set if the managed type has no declared multivalued attributes . Returns: declared Collection-, Set-, List-, and Map-valued attributes . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.isLoaded(Object,String)

persistent attribute of an entity belonging to the persistence unit. Parameters: attributeName - name of attribute whose load state is to be determined entity - entity instance containing the attribute Returns: false if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.SingularAttribute.isVersion()

Jakarta Persistence (JPA) Method in jakarta.persistence.metamodel.SingularAttribute boolean isVersion() Is the attribute a version attribute ? Returns: boolean indicating whether the attribute is a version attribute . Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getList(String,Class)

getList (    String name ,    Class elementType ) Return the List-valued attribute ... - the name of the represented attribute elementType - the element type of the represented attribute ... - if attribute of the given name and type is not present in the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.ManagedType.getDeclaredList(String,Class)

attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared ListAttribute of the given name and element type. Throws

jakarta.persistence.metamodel.ManagedType.getCollection(String,Class)

-valued attribute of the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: CollectionAttribute of the given name and element type. Throws

jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String,Class)

the Collection-valued attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared CollectionAttribute of the given name and element

jakarta.persistence.metamodel.ManagedType.getSet(String,Class)

(    String name ,    Class elementType ) Return the Set-valued attribute ... - the name of the represented attribute elementType - the element type of the represented attribute Returns: SetAttribute of the given name and element type. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.ManagedType.getDeclaredSet(String,Class)

attribute declared by the managed type that corresponds to the specified name and Java element type. Parameters: name - the name of the represented attribute elementType - the element type of the represented attribute Returns: declared SetAttribute of the given name and element type. Throws

jakarta.persistence.criteria.Path.get(String)

; String attributeName ) Create a path corresponding to the referenced attribute . Note: Applications using ... of the attribute Returns: path corresponding to the referenced attribute . Throws: IllegalStateException - if invoked on a path that corresponds to a basic type. IllegalArgumentException - if attribute

jakarta.persistence.Graph.removeAttributeNode(String)

;  String attributeName ) 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 name, this operation

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

of the entity graph. Subclass subgraphs will automatically include the specified attributes of superclass subgraphs Parameters: attributeName - name of the attribute type - entity subclass Returns: subgraph for the attribute . Throws: IllegalStateException - if this EntityGraph has been statically

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

graphs that include related managed types. Subclass subgraphs will include the specified attributes of superclass subgraphs Parameters: attributeName - name of the attribute type - entity subclass Returns: subgraph for the attribute . Throws: IllegalStateException - if this EntityGraph

jakarta.persistence.NamedEntityGraph.includeAllAttributes

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 Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaUpdate.set(Path,Expression)

Jakarta Persistence (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 Returns: the modified update query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaUpdate.set(SingularAttribute,X)

Jakarta Persistence (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 Returns

jakarta.persistence.criteria.CriteriaUpdate.set(SingularAttribute,Expression)

Jakarta Persistence (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 Returns

jakarta.persistence.criteria.CriteriaUpdate.set(Path,X)

Jakarta Persistence (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 Returns: the modified update query. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUtil.isLoaded(Object,String)

persistent attribute . Parameters: attributeName - name of attribute whose load state is to be determined entity - entity containing the attribute Returns: false if entity's state has not been loaded or if the attribute state has not been loaded, else true. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.AttributeConverter.convertToDatabaseColumn(X)

Jakarta Persistence (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

jakarta.persistence.ManyToMany

the relationship attribute within the embedded attribute . The value of each identifier used with the dot

jakarta.persistence.ManyToOne

the relationship attribute within the embedded attribute . The value of each identifier used

jakarta.persistence.EmbeddedId

those attributes of the embedded id that do not correspond to the relationship to the parent entity ... { // default column name for "name" attribute is overridden @AttributeOverride(name = "name", column = @Column

jakarta.persistence.metamodel.Type

Jakarta Persistence (JPA) Interface jakarta.persistence.metamodel.Type Type Parameters: - The type of the represented object or attribute An instance of the type Type represents a persistent object or attribute type. Since: Jakarta Persistence (JPA) 2.0 Public Instance Methods Class getJavaType

jakarta.persistence.SequenceGenerator

is explicitly specified, and the annotation occurs on an entity class or primary key attribute ... when the annotation occurs on an entity class or primary key attribute . Default: "" Since: Jakarta

jakarta.persistence.TableGenerator

is explicitly specified, and the annotation occurs on an entity class or primary key attribute of an entity ... to the name of the entity when the annotation occurs on an entity class or primary key attribute . Default

jakarta.persistence.OneToOne

the mappedBy element to indicate the relationship attribute within the embedded attribute . The value

jakarta.persistence.metamodel.ManagedType.getCollection(String)

getCollection (    String name ) Return the Collection-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: CollectionAttribute of the given name. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.ManagedType.getDeclaredCollection(String)

getDeclaredCollection (    String name ) Return the Collection-valued attribute declared ... of the represented attribute Returns: declared CollectionAttribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not declared in the managed type. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.PersistenceUnitUtil.load(Object,String)

persistent attribute of an entity belonging to the persistence unit and to an open persistence context ... and attribute . Parameters: attributeName - the name of the attribute to be loaded entity - entity

jakarta.persistence.metamodel.ManagedType.getMap(String)

(    String name ) Return the Map-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: MapAttribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not present

jakarta.persistence.metamodel.ManagedType.getDeclaredMap(String)

getDeclaredMap (    String name ) Return the Map-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: declared MapAttribute of the given name. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.ManagedType.getSet(String)

(    String name ) Return the Set-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: SetAttribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not present

jakarta.persistence.metamodel.ManagedType.getDeclaredSet(String)

getDeclaredSet (    String name ) Return the Set-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: declared SetAttribute of the given name. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.ManagedType.getList(String)

getList (    String name ) Return the List-valued attribute of the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: ListAttribute of the given name. Throws: IllegalArgumentException - if attribute of the given name is not

jakarta.persistence.metamodel.ManagedType.getDeclaredList(String)

getDeclaredList (    String name ) Return the List-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute Returns: declared ListAttribute of the given name. Throws: IllegalArgumentException - if attribute

jakarta.persistence.metamodel.Bindable.getBindableJavaType()

_ ATTRIBUTE , the Java element type is returned. If the bindable type is SINGULAR_ ATTRIBUTE or ENTITY_TYPE , the Java type of the represented entity or attribute is returned. Returns: Java type. Since: Jakarta Persistence (JPA) 1.0