About client

manual

[ODB1] Chapter 6 - Persistent Objects

Shows how to store, retrieve, update and delete database objects. ... Unlike the object cache, which is always on the client side, the page cache is located on the server side in client-server mode. Retrieval by an Object ID If an object ID instance, ...

 
release

2.4.0

... Fixed using type operator and literals in client server queries ( issue #112 ). Fixed eager fetch ... ( issue #85 ). Fixed handling ;drop in client-server connection url. Fixed performance issue ( fetch ...

 
forum_thread

Why the internal error was thrown?

com.objectdb.o.InternalException at com.objectdb.o.CCH.H(CCH.java:298) at com.objectdb.o.CCH.E(CCH.java:155) at com.objectdb.o.QRM.Vo(QRM.java:226) at com.objectdb.o.MST.Vo(MST.java:988) at com.objectdb.o.WRA.Vo(WRA.java:311) at com.objectdb.o.WSM.Vo(WSM.java:115) at com.objectdb.o.QRR.g(QRR.java:247) at com.objectdb.o.QRR.f(QRR.java:153) at com.objectdb.jpa.JpaQuery.getResultList(JpaQuery.java:719) ... exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.8.0_51 (on Windows 7 6.1). Please report this error on ...

 
issue

InvalidClassException

Caused by: java.io.InvalidClassException: com.objectdb.o.VAL; local class incompatible: stream classdesc serialVersionUID = 3937626490472381156, local class serialVersionUID = 7665785024158016670 at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:616) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518) at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1623) at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1518) at java.... in understanding the context. If you are using client-server mode please make sure that the server and client sides share the same ObjectDB version. ObjectDB ...

 
issue

Retrieving Metamodel without Connection

Hello! I use Spring Data JPA. It uses the Metamodel to create repository beans. This triggers a connection to the ObjectDB server. It happens on every start of the Context. If it fails the application isn't available at all. I had the situations multiple times that my database server took longer to boot after a power outage than the tomcat machine. This leads to an unusable application until i restart tomcat. ... - the persistence unit model is analyzed locally on the client side. ObjectDB Support ObjectDB - Fast ...

 
forum_thread

schema update procedure

Is there a specific procedure that we should follow when making schema updates? ... a database is opened - one of the first operations on the client side is to synchronize all the persistable classes by sending the up to ...

 
release

2.1.1

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

 
forum_thread

Level 2 cache not hit in @ManyToOne

Hi! I have 2 entities: User and Item, both @Cacheable. Item has @ManyToOne private User user. Level 2 JPA cache is activated and it works ok for find by id (tested by changing data in explorer and reading in my app). Problem 1: find by id on Item it's good, it hits the cache, but not for its field "user". "user" is loaded each time from the DB (tested by changing data in explorer and reading in my app). "user" should also be taken from L2 cache, shouldn't it? Otherwise...it's a huge performance hit. ... L2 cache is to improve performance mainly by minimizing client server round trips. Therefore, retrieval by find  always uses the L2 cache, since it can save a client-server round trip. Similarly, traversal between objects which requires ...

 
forum_thread

Pessimistic Lock Timeouts setting

Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. However, there is a standardised query 'hint' that can be setup to make the underlying DB lock a record for a specific time. The hint property is: "javax.persistence.lock.timeout" #1 2011-04-29 04:30 Hi,   I realise that JPA2 doesn't necessarily define a standard API way for Lock Timeouts. Howev ...

 
issue

Unexpected exception (Error 990) - Merge with no Transaction

I am frequently having an error when merging a detached object outside of a transaction. (Is this allowed? I am not trying to modify the object, just read data from it.) Here is a test case: ... exception (Error 990) Generated by Java HotSpot(TM) Client VM 1.6.0_18 (on Windows 7 6.1). Please report this error on ...