About results

forum_thread

Replication Issue

Hi, I am trying to use replication for this first time - so most likely I am doing something wrong. I have server on which I run my master DB server java -cp objectdb.jar com.objectdb.Server start -conf objectdbMASTER.conf on the same server I run a java program - which is writing objects every second a database KAKI.odb - here is the code: ... = "10" /> <query-cache results = "32mb" programs = "500" /> ...

 
issue

evalution limit error on digital ocean ubuntu

Trying to run the code on Digital Ocean Ubuntu instance. Generated license and set key in objectdb conf file. It gives below exceeds evaluation error when we try to run the code. Caused by: com.objectdb.o.UserException: Too many persistable types (>10) - exceeds evaluation limit at com.objectdb.o.MSG.d(MSG.java:61) ~[objectdb-2.5.4.jar:na] at com.objectdb.o.MST.UC(MST.java:1090) ~[objectdb-2.5.4.jar:na] at com.objectdb.o.WRA.UC(WRA.java:213) ~[objectdb-2.5.4.jar:na] at com.objectdb.o.TYS.x(TYS.java:768) ~[objectdb-2.5.4.jar:na] Bug Version: 2.5.4 Priority: Critical Status: Closed Replies: 1 Type:  Bug ...

 
forum_thread

Show Sql/Jpql

Is there a way to show the executed Sql/Jpql in the console? ... as: Query "SELECT e FROM MyEntity e" = > 100 results in 1 milliseconds. ObjectDB Support ...

 
forum_thread

Failed to read the value of field using reflection (error 363)

I have encountered this error from one of the many servers hosting my application. Other servers didn't encounter errors of this kind and running without problems. My system provider said that nearly all of the servers are VM-based including this one which encountered this error. It is the 'youngest' server in deployment. I can get more information as you require. As the application developer, I am perplexed as I have use JPA and ObjectDB for years now. I could use your assistance in overcoming this problem. Thank you. ----- ... check the database with the ObjectDB Doctor and post the results. ObjectDB Support ObjectDB - Fast Object ...

 
issue

Unable to stop server after starting in SSL mode

ObjectDB server starts & stops fine in non-SSL mode using start & stop shell scripts. ObjectDB server starts fine in SSL mode using start script but throws error and does not stop using stop shell script. Non-SSL mode server start/stop output: ObjectDB Server started on port 7032. ObjectDB Server stopped. SSL mode server start output: ObjectDB Server (SSL) started on port 7032. SSL mode server stop output: ... max-threads = "10" /> <query-cache results = "32mb" programs = "500" /> </database > ...

 
issue

InternalException when querying indexed field using a list that contains duplicates

ObjectDB is throwing an InternalException in JdoQuery: ... is not thrown and the query produces the expected results. An easy workaround is to copy the list values into a set and ...

 
release

2.0.5

... method finding problems. Fixed a bug in the results of IS [NOT] NULL queries. Fixed a bug in ObjectDB ...

 
forum_thread

Detaching objects after JOIN FETCH

Hi, I have a question about detaching objects after issuing query with JOIN FETCH. Let's say I have two classes: public class A { @ManyToOne B bClass } public class B { @OneToMany(fetch = FetchType.LAZY, cascade = CascadeType.ALL) List<A> aClasses; } Now, I want to fetch all B classes with all A classes skipping lazy loading: ... objects. I think that both cases should return the same results. UtcDetachTest.java ...

 
forum_thread

CASE WHEN...THEN...ELSE...END not working using JPQL/JDOQL

When I try to use the "case...when...then...else...end" like in the following query "SELECTCASE WHEN g.name="a" THEN "e" ELSE "o" END g from Guest g", I get the issue: Unexpected query token 'CASE' SELECT  ==> CASE <==  WHEN g.name="a" THEN "e" ELSE "o" END g from Guest g Have I mismatched something or is it an issue with ObjectDB? Anyone could help me on how to use the "case" in JPQL? Thank you in advance. ... query with a simple SELECT g and then adjusting the results in a Java code loop. ObjectDB Support ...

 
forum_thread

em.flush(); em.clear(); loosing data and not persisting managed objects

I'm having trouble with flush() and clear() in a loop inside a transaction not persisting modified objects to database. Sometimes it does other times it doesn't. Here is my Entity. ... I doubt that ID class would give you better results than embedded IDs since they are very similar. Actually it is ...