About empty

forum_thread

ODB lost?

I'm new to ObjectDB. While debugging small programs in single-step mode in NetBeans, the ODB appears to get corrupted or lost if I don't invoke close on EntityManager. If I re-run my program and get a new EntityManager, the instance behaves as if the data that was persisting is somehow gone. I noticed in the file system, indeed, the .odb file is gone, but there are <name>_<v>.odb files where <name> is the name of my odb and <v> is apparently a version number. Is there any way to recover <name>.odb? ... file that was not closed by the existence of a special empty file (a file whose name is active  in the odr directory). If ...

 
forum_thread

Unable to persist TreeMap

import java.util.SortedMap; import java.util.TreeMap; import javax.persistence.Entity; //---------------- @Entity class Person { public SortedMap<String, String> memberships = new TreeMap<String, String>(); } //Person   ... that path, which contains a Person#1 instance with an empty map? ObjectDB Support ObjectDB - Fast ...

 
forum_thread

Can't get arraylist/vector type attributes

I have a class that contains some attributes of type Vector (also tried with ArrayList and same happens). When I try to get an object from that class doing using the find method it works fine, I get the object. But when I call the close method to close the EntityManager the information from the Vector dissapears and I get an empty vector. ... the information from the Vector dissapears and I get an empty vector. Something weird happens, if BEFORE closing the ...

 
api-jpa

getGroupList()

Return a list of the grouping expressions.(Method of javax.persistence.criteria.AbstractQuery)

 
api-jpa

getPluralAttributes()

Return all multi-valued attributes (Collection-, Set-, List-, and Map-valued attributes) of the managed type.(Method of javax.persistence.metamodel.ManagedType)

 
api-jpa

javax.persistence.criteria.FetchParent

Represents an element of the from clause which may function as the parent of Fetches.(Interface of JPA)

 
api-jpa

isMember(elem, collection)

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

 
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)

 
api-jdo

javax.jdo.datastore.DataStoreCache.EmptyDataStoreCache

This class is an empty implementation of the DataStoreCache interface.(Class of JDO)

 
api-jdo

addSubquery(sub, variableDeclaration, candidateCollectionExpression, parameters)

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