ObjectDB Database Search

101-150 of 156 results

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

JPA Extended API Reference Guide

, query facilities, metamodel details, configuration options, annotations, and exception information ... , criteria queries, and JPQL for data retrieval and manipulation. Describes the metamodel and graph APIs

JPA Named Queries

their named queries by using the JPA 2 Metamodel interface. For example: em. getMetamodel (). managedType

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

jakarta.persistence.criteria.SetJoin

() 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

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

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

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

mapping file is not being loaded

, the Metamodel is empty - none of the entities referenced in the mapping file are present in the Metamodel ... -classes to false. The Metamodel API still returns the empty set when 'getEntities()' is invoked ... the Metamodel API (storing objects, etc)? Does it work? support Support So I changed the persistence

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

Duplicate Entity class names causes Exception in Query

  I tried adding an explicit inspection of the EntityType using the metamodel public IMapItem getMapItem(Integer cachedKey, EntityManager em) { Metamodel metamodel = em.getMetamodel(); EntityType type2 = metamodel .entity(NoIdQueryMapItem.class); if(type2 == null) { System.err.println("CRASH

Retrieve data of all entity classes in a single query

etc) This is the code I use to retrieve all Managed Types and data for the Athlete class Metamodel metamodel = em.getMetamodel(); Set allManagedTypes = metamodel .getManagedTypes(); for(ManagedType o ... parse the data? ezazop Akis Zazopoulos Using Java Reflection API. The JPA Metamodel API may also help. support Support

Getting a list of all the entity class names

I was wondering if there is any way to get a list of the entity names in the database? dmoshal David Moshal You can use the Metamodel API as explained by the JPA Metamodel API  page in ... (PersistenceManager.class)); This method remained from ObjectDB 1.x, but in JPA 2 applications the JPA Metamodel API

zip file or JAR manifest missing

the type metamodel before running the query using the JPA metamodel . Regarding the "JAR manifest missing

EntityManager getMetamodel() causes crash

I am trying to track down some obscure errors with multi-threading.  This involved looking at the EntityManager Metamodel but this caused an ObjectDB exception.  So I reverted ... -one, Eg: Metamodel m = em.getMetamodel();     EntityType Point_ = m.entity(Point.class);  

Compare old and new schema

without entity classes in the classpath but the metamodel is empty. How does your explorer get to metamodel

com.objectdb.o.InternalException: Unexpected internal exception

= "getPersonByName", query = "SELECT _person FROM metamodel .user.Person as _person WHERE _person ... ) at dex.server. metamodel .PersonDao.getPersonByName(PersonDao.java:47) at sun.reflect

Get database schema from objectDB file

I am a little bit confused about that Can someone explain what steps do I have to do in order to get the database schema in java given only the objectdb file? i.e. database.odb ezazop Akis Zazopoulos See the JPA Metamodel API . support Support

Does ObjectDB create one instance of each entity class on (web app) load ?

to the EntityManager metamodel for caching some oft-used information in an application-wide

Spring Data JPA - PersistenceException thrown

After a few hours of debugging, I found that the MetaModel is for JPA 1.0 spec. The dependency listed

ObjectDB version 2.2 has been released

ObjectDB 2.2 has been released and it includes important additions and fixes: Added full support of JPA 2 Criteria Queries API ( issue #10 ) Added full support of JPA 2 Metamodel API ( issue #9 ) Added non optional field validation (throwing an exception on null value). Improved ObjectDB

IN expression in a Criteria Query

about that. I was generating metamodel by myself. I replaced it with "employeeEntity", but the result

What is the query to fetch all schema list of my database?

Can you please tell me how to fetch all schema available in my database? Deepak_1996 Deepak Kumar Maharana You can use the JPA metamodel API . support Support

Is there a way to extract the schema from an existing Database?

Hi ObjectDB, Is there a way to extract the schema from an existing Database? i.e. without using my class files Thanks EKK EKK Emmanuel Keskes The schema is available for viewing in the Explorer. You may use the JPA Metamodel API to extract it using your own code. support Support

ObjectDB 2.6.0

Added support of JPA 2.1 persistence.xml and orm.xml formats. Added implementation of equals to JPA Metamodel attributes. Fixed ObjectDB OSGi bundle to support enhanced classes. Fixed handling class ... on BigDecimal field ( issue #1556 ). Fixed a client activation issue when accessing JPA Metamodel before

Internal exception: NPE on criteria query with IN clause and empty collection

would really love to see support for static metamodel in ObjectDB implementation of both JPA criteria API ... with (for example) Hibernate, I cannot use static metamodel in common code :(   Best Regards,    

ObjectDB 2.2.0

Added full support of JPA 2 Criteria Queries API ( issue #10 ) Added full support of JPA 2 Metamodel API ( issue #9 ) Added non optional field validation (throwing an exception on null value). Improved ObjectDB Doctor to handle additional issues. Improved query execution planner. Improved