About contains

manual

General Settings and Logging

Describes general configuration and logging of the ObjectDB Java object database for JPA and JDO. the ObjectDB General configuration section.... the client side. The default configuration file contains the following <general> element: <general > ...

 
forum_thread

Memory consumption of empty Strings

After doing some memory related research in my program, I found a possible place for an enhancement of objectdb: My program has several entities which contain many String. Often some of these String are empty (""). To avoid unnecessary memory consumption, the String within the entities are initialized like: String firstName = ""; ... wrote a little SSCCE to demostrate this effect. The SSCCE contains 2 programs: Program a (creating the entities): public ...

 
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. ... I have a class that contains some attributes of type Vector (also tried with ArrayList and same ...

 
api-jpa

values()

Returns an array containing the constants of this enum type.(Static Method of javax.persistence.InheritanceType)

 
api-jdo

values()

Returns an array containing the constants of this enum type.(Static Method of javax.jdo.annotations.ForeignKeyAction)

 
forum_thread

How do I achieve a Deep Fetch using JOIN FETCH?

I have an Entity type which is contains a collection of Embeddable objects, which in turn themselves contain a collection of Embeddable objects: @Embeddable class A { String val; }; @Embeddable class B { List<A> aList; }; @Entity class C { @Id long id; List<B> bList; };   Usually I'm content to have the B's and A's be lazily loaded, but I have a circumstance where I need to be able to work with the whole C object, with all its parts, as a detached object. ... I have an Entity type which is contains a collection of Embeddable objects, which in turn themselves contain a ...

 
api-jpa

values()

Returns an array containing the constants of this enum type.(Static Method of javax.persistence.CacheRetrieveMode)

 
api-jpa

values()

Returns an array containing the constants of this enum type.(Static Method of javax.persistence.PersistenceContextType)

 
api-jpa

multiselect(selectionList)

Specify the selection items that are to be returned in the query result.(Method of javax.persistence.criteria.CriteriaQuery)

 
api-jpa

values()

Returns an array containing the constants of this enum type.(Static Method of javax.persistence.metamodel.PluralAttribute.CollectionType)