About empty

manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually.... fields, but the [Summary] view is initialized as an empty view. Therefore, unless set, persistent objects are presented in the Tree viewer as an empty set of fields (using "{}"). To set a view for a class, first ...

 
issue

TYE NullPointerException

I've been seeing the following stack trace in a couple of tests today: ... data will not be available and the collection would look empty - if it has not been loaded before detachment). If an unexpected ...

 
forum_thread

zip file or JAR manifest missing

I found the message: Error opening zip file or JAR manifest missing: /E:/projects/ObjectDB/bin/objectdb.jar Some of projects can read the DB, but others can not read or write the DB. ... example, if you are trying to use your application with an empty database. Here are a few possible solution to this problem: ...

 
forum_thread

multi thread application, id field sporadically null

We are testing objectDB with a multi thread application. Each thread has it's own entityManager created from a common factory. In one thread we receive sometimes an object from the database with the field that is declared as @Id having the value null (what is not correct, we checked that with the explorer). The class is declared like this: ... ... may want to check if using a new EntityManager with an empty cache makes a difference, as well as disabling caches in the ...

 
manual

Database Explorer

Explains how to run and use the ObjectDB object database Explorer to view and manage Java/JPA/JDO objects visually.... fields, but the [Summary] view is initialized as an empty view. Therefore, unless set, persistent objects are presented in the Tree viewer as an empty set of fields (using "{}"). To set a view for a class, first ...

 
forum_thread

Visibility of changes in Transaction is not visible to a JPA QL Query

I have two simple Entities ( see attachment ) and a simple SLSB with container managed transactions which is called by a trivial servlet. Inside a UserTransaction I add a number of items then check to see that they have been added ... private Integer property ;     // Bonus empty constructor generated for JPA protected Item ( ) ...

 
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

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

isNotMember(elem, collection)

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