ObjectDB Database Search

101-150 of 186 results

jakarta.persistence.metamodel.PluralAttribute.CollectionType.CollectionType()

Jakarta Persistence (JPA) Constructor in jakarta.persistence. metamodel .PluralAttribute.CollectionType CollectionType() Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.ENTITY

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. metamodel .Type.PersistenceType ENTITY Entity class Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Bindable.BindableType.ENTITY_TYPE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. metamodel .Bindable.BindableType ENTITY_TYPE Entity type. See Also: EntityType Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Bindable.BindableType.BindableType()

Jakarta Persistence (JPA) Constructor in jakarta.persistence. metamodel .Bindable.BindableType BindableType() Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.PluralAttribute.CollectionType.COLLECTION

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. metamodel .PluralAttribute.CollectionType COLLECTION Collection-valued attribute Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.PluralAttribute.CollectionType.SET

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. metamodel .PluralAttribute.CollectionType SET Set-valued attribute Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.EMBEDDABLE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. metamodel .Type.PersistenceType EMBEDDABLE Embeddable class Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.MAPPED_SUPERCLASS

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. metamodel .Type.PersistenceType MAPPED_SUPERCLASS Mapped superclass Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.BASIC

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. metamodel .Type.PersistenceType BASIC Basic type Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Type.PersistenceType.PersistenceType()

Jakarta Persistence (JPA) Constructor in jakarta.persistence. metamodel .Type.PersistenceType PersistenceType() Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.MANY_TO_ONE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. metamodel .Attribute.PersistentAttributeType MANY_TO_ONE Many-to-one association Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.metamodel.Attribute.PersistentAttributeType.ONE_TO_ONE

Jakarta Persistence (JPA) Enum Constant in jakarta.persistence. metamodel .Attribute.PersistentAttributeType ONE_TO_ONE One-to-one association Since: Jakarta Persistence (JPA) 1.0

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

jakarta.persistence.criteria.PluralJoin

getAttribute () Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Inherited from Join Returns: metamodel attribute or null ... PluralAttribute getModel () Return the metamodel representation for the collection-valued attribute

jakarta.persistence.criteria.MapJoin

() Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Inherited from Join Returns: metamodel attribute or null. Since: Jakarta ... getModel () Return the metamodel representation for the map attribute. Overrides PluralJoin

jakarta.persistence.criteria.SetJoin

getAttribute () Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Inherited from Join Returns: metamodel attribute or null. Since: Jakarta ... SetAttribute getModel () Return the metamodel representation for the set attribute. Overrides PluralJoin

jakarta.persistence.criteria.CollectionJoin

(JPA) 1.0 Attribute getAttribute () Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Inherited from Join Returns: metamodel ... Persistence (JPA) 1.0 CollectionAttribute getModel () Return the metamodel representation

jakarta.persistence.criteria.ListJoin

getAttribute () Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Inherited from Join Returns: metamodel attribute or null ... ListAttribute getModel () Return the metamodel representation for the list attribute. Overrides

jakarta.persistence.EntityManagerFactory

other useful APIs: an instance of Metamodel exposing a model of the managed types associated ... . See Also: EntityManager::getCriteriaBuilder() Since: Jakarta Persistence (JPA) 2.0 Metamodel getMetamodel () Return an instance of the Metamodel interface for access to the metamodel of the persistence unit. Returns

jakarta.persistence.EntityManager

to the current transaction. Since: Jakarta Persistence (JPA) 2.0 Metamodel getMetamodel () Obtain an instance of the Metamodel interface which provides access to metamodel objects describing the managed types belonging to the persistence unit. Returns: an instance of Metamodel . Throws

jakarta.persistence.criteria.Root

the metamodel entity corresponding to the root. Overrides Path.getModel Returns: metamodel entity ... to the given entity. Inherited from From Parameters: entity - metamodel entity representing the join ... : entity - metamodel entity representing the join target joinType - join type Returns: the resulting

jakarta.persistence.criteria.Join

Persistence (JPA) 1.0 Attribute getAttribute () Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Returns: metamodel attribute or ... Parameters: entity - metamodel entity representing the join target Returns: the resulting join

disabling JDO in objectdb embedded mode

made to load class or resource [ metamodel /PrimitiveValue.jdo] on an ASURLClassLoader instance ... : file:/usr/local/glassfish/glassfish/domains/dex/applications/ metamodel -ear-1.0-SNAPSHOT/lib/commons ... / metamodel -ear-1.0-SNAPSHOT/lib/commons-logging-1.2.jar, URLEntry : file:/usr/local/glassfish/glassfish

Activation Issue

install mvn exec:java -Dexec.mainClass="test. metamodel .App" or fire it up in your favorite Maven capable ... .java:84) at test. metamodel .App.main(App.java:15) ... 6 more Caused by: com.objectdb.o.UserException ... the Retrieving Metamodel without Connection feature (which was implemented following your request two years ago

jakarta.persistence.EntityManager.getMetamodel()

Jakarta Persistence (JPA) Method in jakarta.persistence.EntityManager Metamodel getMetamodel() Obtain an instance of the Metamodel interface which provides access to metamodel objects describing the managed types belonging to the persistence unit. Returns: an instance of Metamodel . Throws

jakarta.persistence.EntityManagerFactory.getMetamodel()

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

jakarta.persistence.criteria.Fetch

getAttribute () Return the metamodel attribute corresponding to the fetch join. Returns: metamodel

jakarta.persistence.criteria.From

( EntityType entity ) Create and add an inner join to the given entity. Parameters: entity - metamodel ... . Parameters: entity - metamodel entity representing the join target joinType - join type Returns

jakarta.persistence.criteria.CollectionJoin.getModel()

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

jakarta.persistence.criteria.Root.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Root EntityType getModel() Return the metamodel entity corresponding to the root. Returns: metamodel entity corresponding to the root. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.SetJoin.getModel()

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

jakarta.persistence.criteria.Join.getAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Join Attribute getAttribute() Return the metamodel attribute representing the join target, if any, or null if the target of the join is an entity type. Returns: metamodel attribute or null. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.ListJoin.getModel()

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

jakarta.persistence.criteria.MapJoin.getModel()

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

jakarta.persistence.criteria.PluralJoin.getModel()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.PluralJoin PluralAttribute getModel() Return the metamodel representation for the collection-valued attribute corresponding to the join. Returns: metamodel collection-valued attribute corresponding to the target of the join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Fetch.getAttribute()

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.Fetch Attribute getAttribute() Return the metamodel attribute corresponding to the fetch join. Returns: metamodel attribute for the join. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.Subquery

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

jakarta.persistence.criteria.AbstractQuery

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

jakarta.persistence.criteria.CriteriaUpdate

root, the entity that is being updated. Parameters: entity - metamodel entity representing the entity

jakarta.persistence.criteria.CriteriaQuery

. Inherited from AbstractQuery Parameters: entity - metamodel entity representing the entity of type X

jakarta.persistence.criteria.CriteriaDelete

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

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

jakarta.persistence.criteria.AbstractQuery.from(EntityType)

Jakarta Persistence (JPA) Method in jakarta.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

jakarta.persistence.criteria.From.join(EntityType,JoinType)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From Join join (    EntityType entity ,    JoinType joinType ) Create and add a join to the given entity. Parameters: entity - metamodel entity representing the join target joinType - join type Returns: the resulting join. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.criteria.From.join(EntityType)

Jakarta Persistence (JPA) Method in jakarta.persistence.criteria.From Join join (    EntityType entity ) Create and add an inner join to the given entity. Parameters: entity - metamodel entity representing the join target Returns: the resulting join. Since: Jakarta Persistence (JPA) 3.2

jakarta.persistence.criteria.CriteriaUpdate.from(EntityType)

. Parameters: entity - metamodel entity representing the entity of type X Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1.0

jakarta.persistence.criteria.CriteriaDelete.from(EntityType)

. Parameters: entity - metamodel entity representing the entity of type X Returns: query root corresponding to the given entity. Since: Jakarta Persistence (JPA) 1.0