About fields

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

Entity Type is not found (error 301) in Query

Overall test OpenJPA, HibernateJAP, EclipseLink and ObjectDB. No Problem with OpenJPA, HibernateJAP, EclipseLink For ObjectDB there is one query in following method, where the full qualified class name is necessary. See method code - red part Otherwise an error will occure. ... Update m = update. get ( User. Fields . email ) ; if ( m != null ...

 
forum_thread

Non Embedded byte[]

I am trying to understand the "embedded=false" for JDO byte[] as described in ObjectDB 1.0 Manual, sections 4.3 and 4.4.   I desire to store an image as a byte[] but I don't want the byte[] to be loaded on the loading of the persistent object that has my image's attributes.  The byte[] would only be loaded from the datastore if my image's attribute evaluation deemed that it need to be loaded.   Can you give a JDO example of how to achieve this?   For example: #1 2016-07-28 15:25 I am trying to understand the "embedded=false" for JDO byte[] as described in ObjectDB 1.0 Manual, sections 4.3 a ...

 
forum_thread

Need to close+open database for a commit to be taken into account

Hi, I have one case where commit (update of entity in this case) is not taken in account unless database is actually closed and re-open, no error. I tried to use flush instead of close+re-open but it does not work. So currently there is a dirty close + open + reload on each update of one of these entities, which is far from ideal. The entity involved contains (between other fields) another entity, that's the only particularity i can see. I tried with and without entity relationship defined, no difference. ... from ideal. The entity involved contains (between other fields) another entity, that's the only particularity i can see. I tried ...

 
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

Source control of database

Hi, I'm new with ObjectDB. I want to know how I can evolve my model, adding new fields, new classes, perform refactors between versions, etc... There is something like http://www.liquibase.org that can I use over ObjectDB? ... I want to know how I can evolve my model, adding new fields, new classes, perform refactors between versions, etc... There ...

 
api-jdo

javax.jdo.identity.CharIdentity

This class is for identity with a single character field.(Class of JDO)

 
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 ...

 
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. ...

 
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 ...