About mapping

api-jdo

javax.jdo.FetchGroup

FetchGroup represents a named fetch group for a specific class or interface.(Interface of JDO)

 
forum_thread

Multi-tenant setup

Hi, does anybody have experience with multi tenant setup of objectDB. For example using multiple schema or multiple database. How to handle connections between app (Jboss Wildfly) and pass query request to appropriate database, how to dynamically add new database or schema. There are lot of discussions on how to do it with hibernate Thanks     #1 2017-01-05 17:14 Hi, does anybody have experience with multi tenant setup of objectDB. For example using multiple schema o ...

 
forum_thread

Problem with @OrderBy

When I use @OrderBy and supply multiple order fields I get and error when ObjectDB loads that entity. Example code: @Entity @Table(name="Problems", schema = myDB") public class Defects  implements Serializable { ... ...  @OneToMany(mappedBy="problem") @OrderBy("seqRel, noteSeq") Set<Notes> notes; ... ... } #1 2011-04-21 05:17 When I use @OrderBy and supply multiple order fields I get and error when ObjectDB Explorer expands a instance of ...

 
issue

Negative snapshot user count exception

I found the following stack trace in my log files; it's cropped up a number of times: Bug Version: 2.5.2 Priority: Normal Status: Active Replies: 8 Type:  Bug ...

 
forum_thread

JPA CriteriaQuery -- Iterate Expression<List<Object>>

Hi, I am new to  JPA and in particular the CriteriaQuery API. I have a simple CriteriaQuery where I pattern match a simple search String against field entires in a Person entity... i.e. the searchString is always decorated with %searchString%.  The Person object can contain many Record objects. I would like to update my query below to include a similar 'like' pattern match for each applicable field (String) of each element of the List of Records (see pseudo code).  #1 2014-06-25 13:17 Hi, I am new to  JPA and in particular the CriteriaQuery API. I have a simple CriteriaQuery where I pattern ...

 
forum_thread

TemporalType injection with Calendar using JPA

I have ObjectDB  JPA  comsummed by a RESTful web service deployed on Tomcat. I am using an embedded object as a primary key, which has time fields which I have annotated with TemporalType.TIMESTAMP When I use a java.util.Date as a field on this object there is no problem. However, if I use a java.util.Calendar it encounters an exception.   Calendar is what I need.  Is there something obvious here that I am failing to see?   #1 2011-05-30 17:15 I have ObjectDB  JPA  comsummed by a RESTful web service deployed on Tomcat. I am using an embe ...

 
forum_thread

OEM licencing limitation

Hello, I have question regarding OEM licencing. We have an enhanced entity that contains list of unenhanced entities(by a mistake). We have already received the exception: Too many persistent objects (>1000000) - exceeds evaluation limit on that nonenhanced entity, but we have doubts how is the number of persistent objects counted. We unfortunately don't have the objectdb file anymore, but we have some doubts, that the number was not reached by the internal entitities. #1 2014-04-07 07:35 Hello, I have question regarding OEM licencing. We have an enhanced entity that contains list of unenhanced entit ...

 
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)   #1 2011-02-07 15:14 Caused by: com.google.gwt.user.client.rpc.SerializationException: Type 'objectdb.java.util.Date' was not included i ...

 
api-jpa

javax.persistence.ManyToMany

Defines a many-valued association with many-to-many multiplicity.(Annotation of JPA)

 
api-jpa

javax.persistence.PostRemove

Is used to specify callback methods for the corresponding lifecycle event.(Annotation of JPA)