About SECOND

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

NULL prefered in ORDER BY?

Hi! Is there a way to NOT prefer NULL in Order BY? I.e. assume this: @Entity class Hint { private String name; } @Entity class Test { private Hint hint; } I've got a few Test entries, some do have a hint assigned, some do not (NULL). Now when I do something like SELECT FROM Test ORDER BY hint.name ... Test Entities whereas first one points to Hint{name=A}, second one to Hint{name=B} and third one to NULL: Test 3 ( with ...

 
forum_thread

Debuging query before execution

Hi, Is is possible in any way to get string representation of a query right before execution, after setting parameters? Of course it's easy to print out query string when we build it by concatenating many strings, but even then we miss attributes. ... with the first line containing the query string, the second line containing the parameter arguments, etc. What do you ...

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

 
api-jdo

msg(messageKey, arg1, arg2)

Message formatter(Method of javax.jdo.spi.I18NHelper)

 
api-jpa

greaterThanOrEqualTo(x, y)

Create a predicate for testing whether the first argument is greater than or equal to the second.(Method of javax.persistence.criteria.CriteriaBuilder)

 
api-jdo

getConnectionFactory2()

Get the second data store connection factory.(Method of javax.jdo.PersistenceManagerFactory)

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