About client

forum_thread

Modifying something with Explorer -> app JPQL with Enum doesn't work anymore

Hi! Scenario: Copy attached DB into localhost ObjectDB server (I'm running 2.5.1_03). Open attached project JavaEE Maven with NetBeans (7.4 beta in my case). Start ObjectDB on localhost as server. Run project on Apache Tomee 1.5.2 standard. Take a look at NetBeans' output to see how many entities are found with field type GOOD. There are 2 ways generate the bug: ... because enum query arguments have been passed between the client and the server using their ordinal representation rather than their ... This is because when an argument is specified in the client (before query processing on the server side) it is unknown against which ...

 
release

2.2.1

... Fixed unexpected  NullPointerException in client server mode. Fixed an exception in AVG query on non ...

 
forum_thread

High availability and other pratical questions

Hi,   I've just started developing a mobile app which will use a server side, hopefully handling a lot of processing and traffic. I was inteding to use TomEE+ with built-in OpenJPA and Postgres DB, initially on one master server but as it grows more master servers will be set (in different geo locations/data centers) using some data sync mechanism between them.   Now that i've met ObjectDB I want to check the option using it instead of postgres so I have few questions regarding it: ... Can you confirm if replicated embedded for client is available yet? that is what I have been waiting for before trying the ...

 
api-jdo

javax.jdo.JDONullIdentityException

An instance of this class is thrown when attempting to create an object id when the object id constructor parameter is null.(Exception of JDO)

 
forum_thread

Geospatial functions

Hi, is it possible to implement geospatial functions (e.g. calculating distance between too points given latitude/longitude) ?Normally you would calculate the distance like: ... } } } Note: In client server mode you must make your entity class (with the method that is ...

 
api-jdo

javax.jdo.JDOUserException

This class represents user errors that can possibly be retried.(Exception of JDO)

 
api-jdo

javax.jdo.JDOReadOnlyException

This class represents exceptions caused by an attempt to update a datastore when the PMF was created as "read-only".(Exception of JDO)

 
api-jdo

javax.jdo.JDOFatalInternalException

This class represents errors in the implementation for which no user error handling is possible.(Exception of JDO)

 
api-jdo

javax.jdo.JDOFatalException

This class represents exceptions that are fatal; that is, the condition that caused it cannot be bypassed even if the operation is retried.(Exception of JDO)

 
forum_thread

Multi-thread access to single EM's entities

If my entity classes have synchronized getters and setters, is it reliable for multiple threads to access a single EM's managed entities, as long as only the thread that created the EM interacts directly with it?  I've tested this and it seems to work... but I know better than to depend on the observable behavior of multithreaded code. When I run this example and examine the database, the entity contains the value set by the second thread, as expected.   ... using ObjectDB in a rather unconventional application: a client that parses and stores data from the ancient text-based game TradeWars ...