ObjectDB Database 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

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

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

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

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

Methods Attribute getAttribute () Return the metamodel attribute corresponding to the join. Return: metamodel attribute corresponding to the join Since: JPA 2.0 From getCorrelationParent () Returns

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

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

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

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

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

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

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

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

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

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

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

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

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

javax.persistence.criteria.CriteriaQuery

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

javax.persistence.criteria.CriteriaUpdate

, the entity that is being updated. Parameters: entity - metamodel entity representing the entity of type X

CriteriaUpdate.from(entity) - JPA Method

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

javax.persistence.criteria.Subquery

. Parameters: entity - metamodel entity representing the entity of type X Return: query root

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

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

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

EntityType.getName() - JPA Method

JPA Method in javax.persistence. metamodel .EntityType String getName () Return the entity name. Return: entity name Since: JPA 2.0

IdentifiableType.getId(type) - JPA Method

JPA Method in javax.persistence. metamodel .IdentifiableType SingularAttribute getId (   Class  type ) Return the attribute that corresponds to the id attribute of the entity or mapped superclass. Parameters: type - the type of the represented id attribute Return: id attribute Throws

IdentifiableType.getDeclaredId(type) - JPA Method

JPA Method in javax.persistence. metamodel .IdentifiableType SingularAttribute getDeclaredId (   Class  type ) Return the attribute that corresponds to the id attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared id attribute

IdentifiableType.getVersion(type) - JPA Method

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

IdentifiableType.getDeclaredVersion(type) - JPA Method

JPA Method in javax.persistence. metamodel .IdentifiableType SingularAttribute getDeclaredVersion (   Class  type ) Return the attribute that corresponds to the version attribute declared by the entity or mapped superclass. Parameters: type - the type of the represented declared

IdentifiableType.getSupertype() - JPA Method

JPA Method in javax.persistence. metamodel .IdentifiableType IdentifiableType getSupertype () Return the identifiable type that corresponds to the most specific mapped superclass or entity extended by the entity or mapped superclass. Return: supertype of identifiable type or null if no such supertype Since: JPA 2.0

IdentifiableType.hasSingleIdAttribute() - JPA Method

JPA Method in javax.persistence. metamodel .IdentifiableType boolean hasSingleIdAttribute () Whether the identifiable type has a single id attribute. Returns true for a simple id or embedded id; returns false for an idclass. Return: boolean indicating whether the identifiable type has a single id attribute Since: JPA 2.0

IdentifiableType.hasVersionAttribute() - JPA Method

JPA Method in javax.persistence. metamodel .IdentifiableType boolean hasVersionAttribute () Whether the identifiable type has a version attribute. Return: boolean indicating whether the identifiable type has a version attribute Since: JPA 2.0