ObjectDB Database Search

151-188 of 188 results

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

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

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

Database Inconsistency or corruption

_01") @javax.persistence.NamedQueries({ /* queries */ }) public class ObjectValue implements metamodel ... ; queries */}) public class Attribute implements metamodel .IAttribute {   @javax.persistence.Id   ... (name="value")   private metamodel .Value value;  public Attribute() {    

c.o.jpa.type.EntityTypeImpl.getIdType() returns null

code fails     EntityType type = metamodel .entity(domainClass);     ... ;  "The given domain class can not be found in the given Metamodel !");      ... Metamodel API is fully supported by ObjectDB, but it seems that the getTypeId method was implemented

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

Potential memory leak

. The Main class opens a database file, creates an EntityManagerFactory and interacts with the Metamodel ... to access the metamodel and in this specific case, as there is no EntityManager , ObjectDB creates ... the metamodel from an  EntityManager or at least from an EntityManagerFactory

ODB IndexActivation NullPointerException

A. This thread update the Metamodel , and then close the entityManager. (UpdateMetamodel: call for each ... ; So it seems to be a link between the Metamodel and the IndexActivation. btc_es BTC EmbeddedSystems Thank ... -thread-3] is our thread to update the metamodel . - (We call for each EntityClass: entityManager

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

Spring Data JPA

. This is related to the way that ObjectDB manages the Metamodel , which involves a connection

First persist takes long time

the types using the JPA Metamodel API) and then you can duplicate that empty odb file (with the types) when necessary. support Support

JPA CriteriaQuery -- Iterate Expression>

MetaModel Expression records = root.get(Person_.records); Expression param = builder.parameter(String

JBOSS AS7 7.1.1 - Entity not persisted and createNamedQuery fire exception

.EntityTransaction et = em.getTransaction();   javax.persistence. metamodel .ManagedType type = em.getMetamodel

Threading Problem (maybe with Criteria)

you for this report. It seems that a synchronization was missing in the implementation of the JPA metamodel

StaticMetamodel throws NPE with Spring-Data in PathImpl.get()

From my Entities a StaticMetamodel is generated through Hibernate JPA 2 Metamodel Generator ... and a failing test case BigMichi1 Michael Cramer Currently ObjectDB doesn't support the static metamodel ... ). Support of the static metamodel classes should be added to ObjectDB soon.   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,    

No Entity Class API

database with no original classes: Use the Metamodel API to find details on the entity classes in ... from the Metamodel API to access fields of retrieved objects, etc. support Support Thanks

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

ObjectDB 2.2.4

in using JOIN FETCH with DISTINCT. Fixed Metamodel API's getTypeId  method to support single ID field .

Schema-Update: Deactivation of automatic entity class removing and introduction of a new class remove in the schema config

with the first Metamodel and tried to access entities they are not part of the second (reduced) schema

ObjectDB 2.5.3

Added support for casting from boolean to int in queries. Changed default value of . Fixed a critical Explorer bug that interferes with queries on enum fields. Fixed a multithreading conflict (missing synchronization) in the JPA metamodel API. Fixed implementation of casting ( as ) in criteria queries.

ObjectDB 2.2.6

freeze (no response) issue. Fixed a NullPointerException  in metamodel with embedded ID ( issue #316

ObjectDB 2.4.0

persistent fields (in the Metamodel API and in the Explorer). Fixed a bug in merging complex object graphs

stress test -> com.objectdb.o.InternalException: null

can be registered by persisting instances to the database. I think that invoking Metamodel methods (e.g. entity

ObjectDB 2.4.4

Improved memory management when handling very large transactions ( issue #935 ). Improved the Doctor to handle additional situations. Added support in retrieving metamodel without connection ( feature request #896 ). Added support of disabling logging . Improved missing license notification