About embedded

forum_thread

Corrupted Database or error in ObjectDBExplorer?

Hello, we have problems when we open our Database file with the ObjectDB-Explorer (2.6.8_b8). Can you analyze the problem and tell us if its a problem of the explorer or a real problem in the Database-File? An analysis with the DB-Doctor found no problems.   We observe the error if we try to open the Tree or Table Window for com.btc.ep.analysis.test.bl.internal.dmos.RequirementBasedTestCaseImpl  (its the 9th entity)   ... steps to open a previous database is not useful for a embedded Database.   ...

 
forum_thread

Mismatch client-server protocol prefix

Hello! We migrated one of our legacy webservices to Spring Boot/Spring MVC. Now i have a strange problem. At first the app runs perfectly for a couple of hours. After that it stops working and I get the following exception: ... only converted our WAR to a standalone runnable WAR with embedded Tomcat. In addition we converted our Spring configuration from xml to ... It is definitely weird. Maybe it is a conflict between embedded Tomcat / new Spring and ObjectDB. ObjectDB ...

 
issue

out of memory error

we had a system crash on GC overhead limit reached, these are the last logs: ... use less heap size. If the exception is thrown in embedded mode you may wrap relevant calls to ObjectDB with a try-catch block to ...

 
forum_thread

Upgrade to 2.4.1_02

Hi there, The upgrade to 2.4.1_02 fixed the initial problem, however there still seems to be an issue. To me it appears that Embeddable might be being lazy loaded, but I cannot be sure. I have attached a testcase demonstrating this issue. Its failing on the merge. Thanks P. ... It seems that indeed there was a problem with embedded objects in merging. Please try build 2.4.1_03. ...

 
forum_thread

Cannot initialize db after inserting a java.util.List

Hi, I've spent some time trying to figure this out without success, so I'm asking for much appreciated help. I have an entity class like this: class Test { private List<String> list = new ArrayList<String>(); } I can persist and retrieve the obj just fine using standalone program, but whenever I access the db through a servlet container I get this error: objectdb.java.util.ArrayList cannot be cast to com.objectdb.spi.TrackableSysType This happens during EntityManagerFactory initialization.... with GWT in hosted mode. It might be related to the embedded Jetty web server since a previous report indicated that the exception ...

 
manual

SELECT clause (JPQL / Criteria API)

Explains how to use the SELECT clause and projections in a JPA/JPQL query.... not associated with the containing entities. Therefore, embedded objects that are retrieved directly by a result path expression are ...

 
issue

ClassCastException thrown when running count query

Hello! Attached you find a full stacktrace. The query was: ... :id = 101 The exception looks different (embedded vs server mode) but i think it has the same reason. Please ...

 
forum_thread

turn off auto-serialization

Hi    As far as I understand if you have a classe that implements Serializable and is referenced by an Entity it will be automatically stored using standard serialization mechanizm.  Is there any option to turn off that feature so that if an un-enhanced (Serializable) class is referenced an error will be printed ??   Thanks in advance b #1 2011-08-08 12:33 Hi    As far as I understand if you have a classe that implements Serializable and is r ...

 
forum_thread

Database is locked when in use

I am oberving that when i reading anything from odbfiles, i am not allowed to copy and paste the odb files in the file system but the same i was able to do it in object db 1.0. We supprt export functionality and if i am not allowed to copy it in objectdb 2.x, then its a problem for us :-( Do you have any settings or other way to handle this? ... it might work only in a limited way (e.g. maybe only in embedded mode or only in client-server mode, etc.) ...

 
forum_thread

License Activation Change and Checking Activation

Hello! How does ObjectDB determine the machine ID? Yesterday I activated our license on my development laptop and today I tried to persist more than 1M objects. ObjectDB told me that it cant't do that because of the evaluation restrictions. Now I activated it again on the same machine and got a different activation code. With this code it works. The only difference I can think of is that my WiFi was disabled yesterday and today it's not. ... feature was implemented for a specific check in embedded mode. In client server mode it didn't work well, because it checks ...