Internal Website Search
1-33 of 33 resultsJPA Metamodel API: SingularAttribute id1 = entityType. getId (Long.class); // Gets a single ID attribute - excluding inherited: SingularAttribute id2 = entityType. getDeclaredId (Long.class); // Checks ... the version attribute - excluding inherited: SingularAttribute v1 = entityType. getVersion (Long.class | |
javax.persistence.metamodel.SingularAttribute JPA Interface SingularAttribute Type Parameters: - The type containing the represented attribute - The type of the represented attribute Super Interfaces: Attribute , Bindable Instances of the type SingularAttribute represents persistent single-valued properties or fields. Since: JPA 2.0 Public | |
SingularAttribute.isOptional() - JPA Method JPA Method in javax.persistence.metamodel. SingularAttribute boolean isOptional () Can the attribute be null. Return: boolean indicating whether the attribute can be null Since: JPA 2.0 | |
SingularAttribute.isId() - JPA Method JPA Method in javax.persistence.metamodel. SingularAttribute boolean isId () Is the attribute an id attribute. This method will return true if the attribute is an attribute that corresponds to a simple id, an embedded id, or an attribute of an id class. Return: boolean indicating whether the attribute is an id Since: JPA 2.0 | |
SingularAttribute.isVersion() - JPA Method JPA Method in javax.persistence.metamodel. SingularAttribute boolean isVersion () Is the attribute a version attribute. Return: boolean indicating whether the attribute is a version attribute Since: JPA 2.0 | |
SingularAttribute.getType() - JPA Method JPA Method in javax.persistence.metamodel. SingularAttribute Type getType () Return the type that represents the type of the attribute. Return: type of attribute Since: JPA 2.0 | |
javax.persistence.metamodel.IdentifiableType SingularAttribute getDeclaredId (Class type) Return the attribute that corresponds to the id ... the managed type Inherited from: ManagedType Since: JPA 2.0 SingularAttribute ... SingularAttribute getDeclaredSingularAttribute (String name, Class type) Return the single | |
javax.persistence.criteria.From Inherited from: FetchParent Since: JPA 2.0 Fetch fetch ( SingularAttribute attribute) Create ... fetch ( SingularAttribute attribute, JoinType jt) Create a fetch join ... attribute Inherited from: Path Since: JPA 2.0 Path get ( SingularAttribute attribute) Create a path | |
javax.persistence.metamodel.MappedSuperclassType superclass types. Since: JPA 2.0 Public Methods SingularAttribute getDeclaredId (Class type ... .0 SingularAttribute getDeclaredVersion (Class type) Return the attribute that corresponds ... : IdentifiableType Since: JPA 2.0 SingularAttribute getId (Class type) Return the attribute | |
javax.persistence.metamodel.EmbeddableType SingularAttribute getDeclaredSingularAttribute (String name) Return the single-valued attribute declared ... : ManagedType Since: JPA 2.0 SingularAttribute getDeclaredSingularAttribute (String name, Class ... in the managed type Inherited from: ManagedType Since: JPA 2.0 SingularAttribute | |
javax.persistence.metamodel.ManagedType - if attribute of the given name and type is not declared in the managed type Since: JPA 2.0 SingularAttribute ... - if attribute of the given name is not declared in the managed type Since: JPA 2.0 SingularAttribute ... type Since: JPA 2.0 SingularAttribute getSingularAttribute (String name) Return the single-valued | |
javax.persistence.metamodel.EntityType. Since: JPA 2.0 Public Methods SingularAttribute getDeclaredId (Class type) Return the attribute ... SingularAttribute getDeclaredVersion (Class type) Return the attribute that corresponds to the version ... Since: JPA 2.0 SingularAttribute getId (Class type) Return the attribute that corresponds | |
javax.persistence.criteria.FetchParent ( SingularAttribute attribute) Create a fetch join to the specified single-valued attribute using ... Fetch fetch ( SingularAttribute attribute, JoinType jt) Create a fetch join | |
javax.persistence.criteria.Fetch: the resulting join Inherited from: FetchParent Since: JPA 2.0 Fetch fetch ( SingularAttribute attribute ... Fetch fetch ( SingularAttribute attribute, JoinType jt) Create a fetch join | |
javax.persistence.criteria.Join Inherited from: From Since: JPA 2.0 Join join ( SingularAttribute attribute) Create an inner join ... : the resulting join Inherited from: From Since: JPA 2.0 Join join ( SingularAttribute attribute,  | |
javax.persistence.criteria.CriteriaUpdate: the modified update query Since: JPA 2.1 CriteriaUpdate set ( SingularAttribute attribute,  ... ( SingularAttribute attribute, X value) Update the value of the specified attribute | |
Path | |
From | |
From | |
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 ( 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 | |
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 | |
ManagedType | |
ManagedType | |
javax.persistence.criteria.Path get ( SingularAttribute attribute) Create a path corresponding to the referenced single-valued attribute | |
ManagedType | |
ManagedType | |
IdentifiableType | |
IdentifiableType | |
IdentifiableType | |
IdentifiableType | |
StaticMetamodel throws NPE with Spring-Data in PathImpl.get().get() where the parameter is a SingularAttribute field from the generated class annotated by @StaticMetamodel. When i replace the SingularAttribute with a simple String everything works like expected. BigMichi1 |