About fields

manual

Logical Operators in JPQL and Criteria API

Explains how to use AND, OR and NOT in JPQL queries. Logical operators in JPQL and in JPA criteria queries enable composition of complex JPQL boolean expressions out of simple JPQL boolean expressions. This page covers the following topics: Logical Operators ...

 
forum_thread

GWT RPC is throwing serialization exception when I have object db date value

Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.Date' was not included in the set of types which can be serialized by this SerializationPolicy or its Class object could not be loaded. For security purposes, this type will not be serialized.: instance = Sat Jan 29 00:00:00 PST 2011    at com.google.gwt.user.server.rpc.impl.ServerSerializationStreamWriter.serialize(ServerSerializationStreamWriter.java:614)  ... may have a similar problem with collection and map fields in your entities. The solution for date should be using ordinary ...

 
forum_thread

World database - Changing country ID

Hi, I am getting familiar with OpenDB as I am considering using it in some project. I opened Sample world DB in ObjectDB Explorer - and couldn't find my country, as it has invalid id ( ez instead of cz ). I changed the id of country to "cz". But when I try to find the country: SELECT c FROM Country c WHERE id = "cz" no results are returned. If i find it by name, I can see ID has changed to cz. However Country#ez is still displayed in the top. #1 2012-11-21 12:35 Hi, I am getting familiar with OpenDB as I am considering using it in some project. I opened Sample world ...

 
forum_thread

Help: After upgrading from 2.2.8_02 to 2.2.8_04, can't perform LIKE query

Hi,   During the upgrade from 2.2.8_02 (not sure if it was build 03/04 as I skipped 03) - my LIKE queries have stopped working. As an example output: #1 2011-07-15 20:59 Hi,   AFter the upgrade from 2.2.8_02 (not sure if it was build 03/04 as I skipped 03) - my LIKE que ...

 
forum_thread

enhanced object .. NOT enhanced

Hi  I think I have found a bug :  - I have enhanced a class but when I tried to persitst it I got an error that this class has not been ehanced (what is important, this class has _odbTracker field added) So, instead of DB write a standard serialization mechanizm is triggered. Finnally we get an OutOfMemory expeption. b #1 2011-08-08 08:22 Hi  I think I have found a bug :  - I have enhanced a class but when I tried to persits ...

 
forum_thread

Retrieve data of all entity classes in a single query

I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium etc) This is the code I use to retrieve all Managed Types and data for the Athlete class ... Alternatively, you may avoid casting and retrieve fields in a generic way using Java reflection. ...

 
issue

Enable intern() for Retrieved Strings

Implement a setting, where the developer can specify which Strings should be loaded via the String.intern() function. Hint for this enhancement: When loading a large list of persons, the persons first names are many time the same ones (here it is Martin, Michael, Thomas, ...). Instead of instantiating every first name with a new String, the user should be able to specify that this field should be loaded via String.intern() (with all its advantages and disadvantages). Feature Request Version: 2.5.4 Priority: Normal Status: Active Replies: 0 Type:  Feature Request ...

 
forum_thread

embedded objects marked final not persisted.

Discovered that embedded objects marked final are not persisted. I'm not exactly sure why that should the case. Is this a bug?     ... 12:29 Final fields are treated as transient regardless of their type. If you mean ...

 
api-jdo

postStore(event)

Invoked whenever a persistent instance is stored, for example during javax.jdo.PersistenceManager.flush or javax.jdo.Transaction.commit.(Method of javax.jdo.listener.StoreLifecycleListener)

 
issue

InternalException when using MEMBER OF on a large list in a query

Hello, we get when executing a query with MEMBER OF on a large list the following InternalException: Caused by: com.objectdb.o.InternalException: merge2 com.btc.ep.coverage.bl.internal.dmos.CoverageRecordImpl:null => merger[2850057]-missing:223 at com.objectdb.o.PBI.B(PBI.java:124) at com.objectdb.o.PBI.q(PBI.jave:97) at com.objectdb.o.OBI.Vp(OBI.java:244) (... more see attached Image) Our query looks like this: Bug Version: Priority: High Status: Fixed Replies: 5 Type:  Bug ...