About empty

issue

Index Rebuilder

When a new index is added to an existing entity classes that already has instances in the database, it cannot be used in queries, because it starts empty and it is not synchronized with the existing primary data. The Index Rebuilder tool will enable rebuilding indexes, synchronizing their data to the primary data. As a workaround, you can currently use the ObjectDB Doctor to build a new database file, in which such new indexes will be enabled.... database, it cannot be used in queries, because it starts empty and unsynchronized with the existing primary data. The Index ...

 
forum_thread

Using of Second Level Cache

In our use case we want to find some entity types always again very quickly by primary key or query in many short transactions. The entity MyEntity1 and its relationships to MyEntity2/MyEntity3 was load and the entity MyEntity1 is taken in the second level cache, the other entity types not. Are the relationships to MyEntity2/MyEntity3 still always referenced although the entity manager is closed, so that the memory for MyEntity2 and MyEntity3 can never be released by garbage collector? ... MyEntity1 its fields may be initialised as null / empty list, unless eager fetch is used. Anyway, when the MyEntity2 and ...

 
forum_thread

Complex Schema Upgrade not working

Hello, We're trying to upgrade the DB-Schema. Simplied our source/original Schema/Class-Hierarchy looked like this: class contact.Contact class customer.Customer extends contact.Contact class member.Member extends customer.Customer We have database records within each class type (Contact, Customer and Member). ... results in the previous Contact and Customer tables to be empty as well as the new Address class' table has no records either. ...

 
forum_thread

Guestbook Tutorial (Eclipse/Glassfish)

I have the tutorial working which has been a great help in understanding how to use ObjectDB. I have found one problem. The database file (C:\glassfish3.1\glassfishv3\glassfish\domains\domain1\eclipseApps\Guestbook\WEB-INF\db\guests.odb) is reset on occasions; I am not sure what set of events causes this. I can enter a number of entries, stop Glassfish, use the Object Explorer to view the objects. At some point, may be when restarting Glassfish or re-publishing the application, the database is empty. Any help would be much appreciated. ... or re-publishing the application, the database is empty. Any help would be much appreciated. Michael ...

 
api-jpa

getFetches()

Return the fetch joins that have been made from this type.(Method of javax.persistence.criteria.FetchParent)

 
api-jpa

getRoots()

Return the query roots.(Method of javax.persistence.criteria.AbstractQuery)

 
forum_thread

impossible to drop a table with 50 million objects

when trying to execute in explorer (max heap size 1GByte) delete from LogEntry l it comes up with a Java heap error after 20 minutes of executing. How to empty such a table ?     ... heap error after 20 minutes of executing. How to empty such a table ?     ...

 
api-jpa

isNotMember(elem, collection)

Create a predicate that tests whether an element is not a member of a collection.(Method of javax.persistence.criteria.CriteriaBuilder)

 
forum_thread

Entity with java.util.Date column gives ClassCastException in BIRT

Copied a straightforward entity class from my coleague. Using Eclipse Kepler (Reporting) and stored it in ObjectDB 2.5.3_02. After creating an ObjectDB BIRT DataSource and a DataSet, entered a simple JPQL query to select the fields. Entity looks like this: ... public Patient ( ) { // empty }   /** * Returns the id of this {@link ...

 
api-jdo

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameters)

Add a subquery to this query.(Method of javax.jdo.Query)