About check

manual

Database Doctor

Explains how to use the ObjectDB object database Doctor tool to diagnose and repair database files and damaged Java/JPA/JDO objects. The ObjectDB Doctor tool provides two related services: Diagnosis and validation of an ObjectDB database file Checks a given ObjectDB database file, verifies that it is healthy and valid, and if the file is not valid (it is c ...

 
forum_thread

UserException: Invalid configuration in 'internal' - Check permissions

Hi all,   I have a master/slave code so that each slave reads a subset of points of the same database. ObjectDB entities do not allow serialization and so I have sent, to each slave, the file path. With such information I have tried to create an entityManager, in each slave, as follows: EntityManagerFatory entityManagerFactory = Persistence.createEntityManagerFactory(filePath); EntityManager = entityManagerFactory.createEntityManager(); However I get the following error ... Invalid configuration in 'internal' - Check permissions. < /span > :   Is there any way to change such ... Invalid configuration in 'internal' - Check permissions. at com.objectdb.o.MSG.d ( MSG. java :74 ) ... Invalid configuration in 'internal' - Check permissions. at com.objectdb.o.MSG.d(MSG.java:74) at ...

 
forum_thread

Check for index existence ?

Hello, Is there a simple way to check if indexes specified in entities are well taken into account by ObjectDb ? Regards, Xirt ... Hello, Is there a simple way to check if indexes specified in entities are well taken into account by ObjectDb ... mode? If you do, set the server configuration and check the server logs (queries are executed on the server, enhancement messages ...

 
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. ... the WIFI adapter enabled or disabled. You can check whether ObjectDB is activated or not using the following query: ... (and undocumented) feature was implemented for a specific check in embedded mode. In client server mode it didn't work well, because ...

 
forum_thread

Dirty checking

Hi, wondering if anyone knows the best way to detect which objects have been changed in the database. ie: which objects, and which collections of objects, have been dirtied.     ... JDO methods (even if your application uses JPA) so you can check if an entity object is dirty using the static JDOHelper.isDeleted ... JDO methods (even if your application uses JPA) so you can check if an entity object is dirty using the static JDOHelper.isDeleted ...

 
forum_thread

How to check if an entity exists in a Database without loading it?

Hi, I am trying to speed up some code - where i check if the entity exists in order to make a decision. In Java - It looks like this (pk - is the primary key of the entity): MyClass find = em.find(MyClass.class, pk); boolean exists = find != null; Is there a way to check the existence without loading the entity? Thanks   ... Hi, I am trying to speed up some code - where i check if an entity exists in order to make a decision. In Java - It ... find != null ; Is there a way to check the existence without loading the entity? Thanks   ...

 
forum_thread

How to check if the classes were enhanced correctly with valid OEM license?

Hello, is there a way/tool how to check whether build classes were enhanced with valid OEM license? Scenario: 1) Build and enhance Java application with some Object DB license key. 2) Pick particular JAR containing enhanced classes from the build above. 3) Run some tool against picked JAR to determine the result of enhancing (whether it is enhanced correctly, with what license, validity, etc.) Thank you. ... Hello, is there a way/tool how to check whether build classes were enhanced with valid OEM license? ... 2016-03-31 16:51 To check if class MyEntity is enhanced using the OEM Enhancer use the ...

 
forum_thread

Memory Leaks after COMMIT operation (checked on versions 2.6.5 & 2.6.6.b01)

During import big logs we are observed some memory leaks inside of ObjectDb, so, could you explain what we did incorrectly or investigate how to fix it ASAP. Source code which causing memory leaks: ... After executing code above (write a 10-15 Mbytes) need to check remaining memory in any available profiler. Stack trace for mentioned ... objects are in one large collection, aDataKeys , please check when this collection is released. It is also recommended to use ...

 
forum_thread

Is 2 level cache in use?

Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: 1. objectdb.conf with cache size is placed in WEB-INF directory of my web application. 2. persistence.xml was modified with: ... Hi, Is there any way to check, if 2 level cache is in use? Right now I've done two things: ... 15:05 You cannot check if the L2 cache is enabled directly but you can check its content , by ...

 
forum_thread

Remove an entity which attributes were changed - OptimisticLockException

We use an OSGi environment and we have three OSGi plugins.   In plugin A an entity is loaded and the entity is passed to plugin B. Plugin B changes an attribute on the entity. Plugin C removes the entity from the database. After commit the transaction an exception is caused with optimistic lock exception of the removed entity. If this operations on the entity are executed in only one plugin, it works well. ... is used by the different plugins? Could you please check if the same Java instance is used by the two operations (as should be ... number will be injected to that field. Please check this version number during the operations with one plugin and with ...