About true

forum_thread

Server vs embedded mode in multi-instance scenario

We are creating a web app that will have multiple different clients, each on their own EC2 instance(s). The clients do not need to share any data, so each could have its own ObjectDB. Clients have a user base of about 2,000 to 60,000 users that could possibly be using their application at any given time (100k absolute maximum). We will probably have multiple instances per client for availability concerns as well as auto scale during peak usage, at least for the benefit of our web application if not for objectdb.... /> <embedded-server enabled = "true" /> ... Now you should be able to open the same ...

 
issue

Strange Error with Criteria API and Sorting

We're creating a simple selection (distinct) including an order clause. When watching the created criteria in debugger we get the correct expression: SELECT DISTINCT $1 FROM MyEntity $1 WHERE ((TYPE($1)=class test.MyEntity)) ORDER BY UPPER($1.name) DESC You can see that in the order by there's correctly a "$1" var. Running this (without the type thing before) in the explorer correctly returns the sorted results. However, running this with the criteria API produces this error: ... select ( root ) . distinct ( true ) ; List<TestEntity> result = em. createQuery ...

 
release

2.3.7

... #78 ). Added support of @Column(unique="true") and equivalent ORM XML ( issue #79 ). Fixed ...

 
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)  ... 18:26 That's true. In JPA, objects that have not been loaded before detachment are ...

 
forum_thread

UserException: Invalid configuration in 'internal' - Check permissions

Hi all,   I have a master/slave code so that each slave reads a subset of points of the same database. ObjectDB entities do not allow serialization and so I have sent, to each slave, the file path. With such information I have tried to create an entityManager, in each slave, as follows: EntityManagerFatory entityManagerFactory = Persistence.createEntityManagerFactory(filePath); EntityManager = entityManagerFactory.createEntityManager(); However I get the following error ... = "path/to/log/" max = "8mb" stdout = "true" stderr = "false" / > <log - archive path = ...

 
forum_thread

JVM crash when using IBM JDK 1.6.0

The FAQ states in the system requirements only that a JDK/JRE 1.5 or 1.6(prefered) is required. When I try to use the IBM JDK 1.6.0 I get a GPF exception while creating the entity manager. Looks like a call to putInt on sun.misc.Unsafe object Does this mean there is a BUG in the IBM JDK or are not all JDK's supported? ... fixed the GPF crash. I have <enhancement agent="true" reflection="error" /> in my objectdb.conf file With the Sun ...

 
issue

Issue with TYPE expression in Criteria API

Find attached project using latest 2.3.4_03 odb still causes:   ... <persist serialization = "true" /> This is required because currently passing a type ...

 
forum_thread

Open several objectdb databases the same time

We tried to open objectdb databases from application and got following error: ... /> <embedded-server enabled = "true" /> <!-- <replication ...

 
forum_thread

Update Entity references if we change the type of an entity

Hello, we must change (extend) our entity model and therefor we convert the type of some entities. As example (like in the attached example): We have an EntityA that have a reference to an EntityB. ... ( "objectdb.temp.extended-ref-retrieval" , "true" ) ; // or by using the -D JVM argument ...

 
tutorial

Step 1: Create a Maven Web Project

Explains how to create a Eclipse Web Maven project with Spring and ObjectDB/JPA support.... <daemon>true</daemon>        ...