About client

forum_thread

First query takes 4+ minutes to complete

Hi, we are evaluating ObjectDB 2.5.1_04 in embedded mode hoping to replace SQLite in our application. We observed that in our case it takes on average more than 4 minutes to complete the first SELECT query that we run on the DB which contains about 320,000 records of a single type of object. SQLite in comparison responds within few seconds on average with the same number of records. We hope to receive your recommendation on how to improve this result with this post.   Test System ... :   // Indices building trees in client applications @ Index ( members = { ...

 
forum_thread

JPA - ExceptionInInitializerError when creating EntityManager

EntityFactoryManager(emf) is successfully received but error at emf.createEntityManager Please see my code of fragment from my project. public class Main {        final private static Properties EMAIL_PROPS;      final private static String EMAIL_FROM;            static {  EntityManagerFactory emf = javax.persistence.Persistence.createEntityManagerFactory("tmpCLMSPU"); ... Users directories. Restart Server & Also, My client Computer. Create a separate project & copy my original sources ...

 
release

2.4.1

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

 
manual

Date and Time in JPQL and Criteria Queries

Shows how date and time can be used in JPQL queries.... Unlike constant date literals which are built once on the client side, the current date and time expressions are reevaluated on the ...

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

 
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

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

 
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

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