Internal Website Search

51-100 of 178 results

Metamodel Attribute NOT EQUALS to same Attribute in a different EntityManager

Attribute from Metamodel initialized on @PostConstruct event IS NOT EQUALS of the same Attribute from Metamodel of a differente EntityManager initialized on a @Controller @RequestMapping event. I ... is it: If I have two moments of initialization of "javax.persistence. metamodel " from EntityManager

Retrieving Metamodel without connection

Hello! I use Spring Data JPA. It uses the  Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails ... until i restart tomcat. Other JPA providers are able to fetch the Metamodel without connecting to the DB

JPA Named Queries

Metamodel interface. For example: em. getMetamodel (). managedType (MyEntity.class); Following

JPA Metamodel (JPA 2.0)

The JPA Metamodel API enables examining the classes, fields and properties of the persistent object model, similarly to the Java reflection API. The JPA Metamodel API has a major role in defining queries using the JPA Criteria API. support Support Implementation of the JPA Metamodel API was just

Retrieving Metamodel without Connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails ... restart tomcat. Other JPA providers are able to fetch the Metamodel without connecting to the DB. I

EntityManagerFactory.getMetamodel() - JPA Method

JPA Method in javax.persistence.EntityManagerFactory Metamodel getMetamodel () Return an instance of Metamodel interface for access to the metamodel of the persistence unit. Return: Metamodel instance Throws: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0

javax.persistence.EntityManagerFactory

: IllegalStateException - if the entity manager factory has been closed Since: JPA 2.0 Metamodel getMetamodel () Return an instance of Metamodel interface for access to the metamodel of the persistence unit. Return: Metamodel instance Throws: IllegalStateException - if the entity manager factory has been closed

javax.persistence.EntityManager

Metamodel getMetamodel () Return an instance of Metamodel interface for access to the metamodel of the persistence unit. Return: Metamodel instance Throws: IllegalStateException - if the entity manager

EntityManager.getMetamodel() - JPA Method

JPA Method in javax.persistence.EntityManager Metamodel getMetamodel () Return an instance of Metamodel interface for access to the metamodel of the persistence unit. Return: Metamodel instance Throws: IllegalStateException - if the entity manager has been closed Since: JPA 2.0

javax.persistence.criteria.SetJoin

Methods SetAttribute getModel () Return the metamodel representation for the set attribute. Return: metamodel type representing the Set that is the target of the join Since: JPA 2.0 SetJoin

javax.persistence.criteria.Root

API) article explains how to use Root . Public Methods EntityType getModel () Return the metamodel entity corresponding to the root. Return: metamodel entity corresponding to the root Since: JPA 2.0

Root.getModel() - JPA Method

JPA Method in javax.persistence.criteria.Root EntityType getModel () Return the metamodel entity corresponding to the root. Return: metamodel entity corresponding to the root Since: JPA 2.0

PluralJoin.getModel() - JPA Method

JPA Method in javax.persistence.criteria.PluralJoin PluralAttribute getModel () Return the metamodel representation for the collection-valued attribute corresponding to the join. Return: metamodel collection-valued attribute corresponding to the target of the join Since: JPA 2.0

javax.persistence.criteria.PluralJoin

PluralAttribute getModel () Return the metamodel representation for the collection-valued attribute corresponding to the join. Return: metamodel collection-valued attribute corresponding to the target of the join Since: JPA 2.0

CollectionJoin.getModel() - JPA Method

JPA Method in javax.persistence.criteria.CollectionJoin CollectionAttribute getModel () Return the metamodel representation for the collection attribute. Return: metamodel type representing the Collection that is the target of the join Since: JPA 2.0

javax.persistence.criteria.CollectionJoin

. Since: JPA 2.0 Public Methods CollectionAttribute getModel () Return the metamodel representation for the collection attribute. Return: metamodel type representing the Collection that is the target

Fetch.getAttribute() - JPA Method

JPA Method in javax.persistence.criteria.Fetch Attribute getAttribute () Return the metamodel attribute corresponding to the fetch join. Return: metamodel attribute for the join Since: JPA 2.0

javax.persistence.criteria.Fetch

: FetchParent Since: JPA 2.0 Attribute getAttribute () Return the metamodel attribute corresponding to the fetch join. Return: metamodel attribute for the join Since: JPA 2.0 Set getFetches () Return

MapJoin.getModel() - JPA Method

JPA Method in javax.persistence.criteria.MapJoin MapAttribute getModel () Return the metamodel representation for the map attribute. Return: metamodel type representing the Map that is the target of the join Since: JPA 2.0

ListJoin.getModel() - JPA Method

JPA Method in javax.persistence.criteria.ListJoin ListAttribute getModel () Return the metamodel representation for the list attribute. Return: metamodel type representing the List that is the target of the join Since: JPA 2.0

javax.persistence.criteria.ListJoin

Methods ListAttribute getModel () Return the metamodel representation for the list attribute. Return: metamodel type representing the List that is the target of the join Since: JPA 2.0 Expression

javax.persistence.criteria.MapJoin

() Return the metamodel representation for the map attribute. Return: metamodel type representing

Join.getAttribute() - JPA Method

JPA Method in javax.persistence.criteria.Join Attribute getAttribute () Return the metamodel attribute corresponding to the join. Return: metamodel attribute corresponding to the join Since: JPA 2.0

javax.persistence.criteria.Join

) article explains how to use Join . Public Methods Attribute getAttribute () Return the metamodel attribute corresponding to the join. Return: metamodel attribute corresponding to the join Since: JPA 2

SetJoin.getModel() - JPA Method

JPA Method in javax.persistence.criteria.SetJoin SetAttribute getModel () Return the metamodel representation for the set attribute. Return: metamodel type representing the Set that is the target of the join Since: JPA 2.0

javax.persistence.criteria.CriteriaQuery

a cartesian product with any existing roots. Parameters: entity - metamodel entity representing the entity

PluralAttribute.getCollectionType() - JPA Method

JPA Method in javax.persistence. metamodel .PluralAttribute PluralAttribute .CollectionType getCollectionType () Return the collection type. Return: collection type Since: JPA 2.0

PluralAttribute.getElementType() - JPA Method

JPA Method in javax.persistence. metamodel .PluralAttribute Type getElementType () Return the type representing the element type of the collection. Return: element type Since: JPA 2.0

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

javax.persistence.criteria.CriteriaDelete

that is being deleted. Parameters: entity - metamodel entity representing the entity of type X Return: query root

MapAttribute.getKeyType() - JPA Method

JPA Method in javax.persistence. metamodel .MapAttribute Type getKeyType () Return the type representing the key type of the map. Return: type representing key type Since: JPA 2.0

MapAttribute.getKeyJavaType() - JPA Method

JPA Method in javax.persistence. metamodel .MapAttribute Class getKeyJavaType () Return the Java type of the map key. Return: Java key type Since: JPA 2.0

CriteriaDelete.from(entity) - JPA Method

- metamodel entity representing the entity of type X Return: query root corresponding to the given entity Since: JPA 2.1

Bindable.getBindableType() - JPA Method

JPA Method in javax.persistence. metamodel .Bindable Bindable .BindableType getBindableType () Return the bindable type of the represented object. Return: bindable type Since: JPA 2.0

Bindable.getBindableJavaType() - JPA Method

JPA Method in javax.persistence. metamodel .Bindable Class getBindableJavaType () Return the Java type of the represented object. If the bindable type of the object is PLURAL_ATTRIBUTE , the Java element type is returned. If the bindable type is SINGULAR_ATTRIBUTE or ENTITY_TYPE , the Java type

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

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

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

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

AbstractQuery.from(entity) - JPA Method

JPA Method in javax.persistence.criteria.AbstractQuery Root from (    EntityType  entity ) Create and add a query root corresponding to the given entity, forming a cartesian product with any existing roots. Parameters: entity - metamodel entity representing the entity of type X

javax.persistence.criteria.AbstractQuery

product with any existing roots. Parameters: entity - metamodel entity representing the entity

ManagedType.getDeclaredSet(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SetAttribute 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 Return: declared

ManagedType.getDeclaredCollection(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType CollectionAttribute getDeclaredCollection (   String name ) Return the Collection-valued attribute declared by the managed type that corresponds to the specified name. Parameters: name - the name of the represented attribute

ManagedType.getSet(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType SetAttribute getSet (   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 Return: SetAttribute of the given name

ManagedType.getCollection(name) - JPA Method

JPA Method in javax.persistence. metamodel .ManagedType CollectionAttribute 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 Return