About attribute

1-10 of 200Refresh
JPA Doc
200

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.
Manual
102

JPA Metamodel API

for exploring managed fields and properties (which are referred to as attributes). For example: // Get all the attributes - including inherited: Set<Attribute> attributes1 = managedType.getAttributes(); // Get all the attributes - excluding inherited: Set<Attribute> attributes2 = managedType
JPA Doc
62

JPA Metamodel API

The JPA Metamodel API, which is introduced in JPA 2.0, enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API. The main interface of the JPA Metamodel API is: Types (mainly classes) and attributes (persistent field and properties
JPA Doc
53

javax.persistence.metamodel.Attribute

javax.persistence.metamodel Interface Attribute Subinterfaces: CollectionAttribute, ListAttribute, MapAttribute, PluralAttribute, SetAttribute, SingularAttribute Represents an attribute ... the type in which the attribute was declared. Return the managed type representing the type in
JPA Doc
47

javax.persistence.metamodel.Attribute.PersistentAttributeType

javax.persistence.metamodel Enum Attribute.PersistentAttributeType java.lang.Object java.lang.EnumAttribute.PersistentAttributeType> javax.persistence.metamodel.Attribute.PersistentAttributeType Implemented Interfaces: Serializable, Comparable
JPA Doc
46

get(attribute)

Method javax.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: JPA 2.0
JPA Doc
45

getPersistentAttributeType()

Method javax.persistence.metamodel.Attribute PersistentAttributeType getPersistentAttributeType() Return the persistent attribute type for the attribute. Returns: persistent attribute type Since: JPA 2.0
JPA Doc
44

fetch(attribute)

Method 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 Returns: the resulting join Since: JPA 2.0
JPA Doc
44

fetch(attribute)

Method 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 Returns: the resulting fetch join Since: JPA 2.0
JPA Doc
44

fetch(attribute, jt)

Method 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 Returns: the resulting join Since: JPA 2.0