About SECOND

release

2.2.9

... ( YEAR , MONTH , DAY , HOUR , MINUTE , SECOND ). Added support of  bypassing no arg ...

 
forum_thread

Some technical questions

Hi, ObjectDB looks interesting. Have two technical questions... (1) what locking model does ObjectDB use? I.e. 2PL or MVCC? Do writers block readers? Do readers block writers? (2) what's the recommended usage for SAAS? One ObjectDB database per customer, or one ObjectDB database for all? Thank you, Andrej ... blocking, and will it see the old attribute? Or will the second transaction block until the first transaction either commits or rolls ...

 
forum_thread

ObectDb 2.3.6 in OSGi environment

Hello, I'm trying to use ObjectDb within OSGi bundles. I have one bundle for db accens which uses ObjectDb and another bundle which includes the POJO models. Everytime I start in plugin evironement i get an PersistenceException, because my POJO not found. If try the same test in normal Java environment everthing works fine. Can you please advice? Thx Peter ... bundles, from the first bundle I'm trying to call the second bundle in following way with a JUnit Plugin test: ...

 
forum_thread

Extending model by "common entity"

Hi, I have a question about extending working model with one, common entity, that all other entities will inherit from. For example I have 2 different entities in database with some data:... and setters here) } and the second one: @ Entity public class Entity2 ...

 
api-jdo

execute(p1, p2)

Execute the query and return the filtered Collection.(Method of javax.jdo.Query)

 
issue

Query execution creates a wrong result

Hello, we analysed an unexpected behavior and find out that the result of an Query are wrong. We prepared an Example that shows the BUG. (see attachment) The Example executes two Queries. The first returns an expected result (one Entity). The second Query is the first Query with an additional WHERE condition. But than we get another (wrong) result.   ... The first returns an expected result (one Entity). The second Query is the first Query with an additional WHERE condition. But than we ...

 
forum_thread

Java EE JPA (GLassfish) tutorial throws ClassCastException

When launching the Guestbook tutorial for the second time (after a server restart) I get a ClassCastException: java.lang.ClassCastException: guest.Guest cannot be cast to guest.Guest The first time (when the db is created) persisting and retrieving works fine. Using the explorer on the db file shows the objects I persisted. I followed the exact steps as descriped in the tutorial. Did I miss something? - Java 1.7.0_03 - ObjectDB 2.4.5_06 - GlassFish Server Open Source Edition 3.1.2.2 ... When launching the Guestbook tutorial for the second time (after a server restart) I get a ClassCastException: ...

 
api-jpa

getReference(entityClass, primaryKey)

Get an instance, whose state may be lazily fetched.(Method of javax.persistence.EntityManager)

 
api-jpa

find(entityClass, primaryKey, properties)

Find by primary key, using the specified properties.(Method of javax.persistence.EntityManager)

 
forum_thread

EntityManagerFactory Fails To Swtich Over To Slave When Master Is Unavailable

I have a simple task to validate the sample code will switch over to the slave database when the master is unavailable. I simulate the master unavailable by stopping the master server; which generates the following exception below. What am I doing wrong? It appears the connection manager fails to try the second URL in the list: objectdb://10.9.2.15:9998//10.9.2.15:9999/test.odb;user=admin;password=password Thank you in advance. ... wrong? It appears the connection manager fails to try the second URL in the list: ...