About log

forum_thread

Safe Settings

Hi, I am trying to set up ObjectDb in a safe way that allows turning the machine off while database transactions are running. I would like to test if things are really safe and if I don't get corrupted database files in any possible case. I found "recovery" and "recording" in the objectdb.conf file. Which one is safer to use? I suppose I should turn on sync="true", right? ... from failure: Recording (transaction log). Recovery (double writing). Every mechanism ...

 
forum_thread

What algorithm in find()

I test the time cost for find(), obtain a linear complexity with the following codes: ... O(n). So what algorithm in find()? Can it improved to O(log(n)) complexity? Institute of Computer Technologies ...

 
forum_thread

Eclipse/JPA database tutorial

Hello Sir/Madam, I followed all the steps correctly as given in the tutorial. But when i run it , I'm getting an error saying, the resource not available. Please help regarding the issue as soon as possible. Thank you. ... if there are exceptions in the console or in the server log. ObjectDB Support ObjectDB - Fast Object ...

 
issue

Query execution creates a wrong result

Hello, we analysed an unexpected behavior and find out that the result of an Query are wrong. We prepared an Example that shows the BUG. (see attachment) The Example executes two Queries. The first returns an expected result (one Entity). The second Query is the first Query with an additional WHERE condition. But than we get another (wrong) result.   ... including issue #266 , which is mentioned in the change log and may be related to this report. ObjectDB ...

 
forum_thread

Object DB In memory : without Filestore

Hello, I raised this question earlier as well, we want to explore if I can run the ObjectDB completely in Memory ? (without any writes to Disk, it's okay to loose the data if the node is down ). I think that will give the best performance. The reason we are exploring is restoring state is possible for us through replaying the logs, however we want easier data structures which is really good with ObjectDB along with Concurrency controls and transaction mgmt. Let us know if it is possible to run the Object DB completely in memory without disk storage. #1 2013-10-04 07:31 Hello, I raised this question earlier as well, we want to explore if I can run the ObjectDB completely in ...

 
forum_thread

multiple LEFT JOINs do not work as expected

Hi, We have a hierarchical data set of organisations in the database, where each organisation stores a reference to it parent organisation. I'm trying to find all organisations 2 levels under a root organisation, e.g. where organisation.parentOrg is the root or organisation.parentOrg.parentOrg is the root. The query also contains a number of other predicates and it is built dynamically using Criteria API. It could be looking for other number of levels, 2 is just an example. The test query looks like this: ... The root organisation has null as it's parent. The log generated when I run this against the DB is attached. Could you ...

 
issue

NullPointerException on initial database creation

I'm getting the following exception on initial creation of a database.  There's no indication as to what's wrong and there's nothing in the log.   ... as to what's wrong and there's nothing in the log.   com.objectdb.o.InternalException: ...

 
forum_thread

Intermittent Exception "Attempt to update types in read only mode"

I have a master/slave(s) setup and I am finding on the slaves that the slave client will get this message when trying to establish an EntityManager to the slave: #1 2012-07-19 06:10 I have a master/slave(s) setup and I am finding on the slaves that the slave client will get this message when tr ...

 
issue

Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker

Hi   there is something wrong with enhancement process I got that class was succesfully processed, log has size 0, enhancer is from build objectdb-2.2.8_08 and during object creation when some filed is initialised i got an exception   Exception in thread "main" java.lang.NoSuchFieldError: __odbTracker at com.package.Network.__odbSet_Connections(Network.java:1) at com.package.Network.<init>(Network.java:95) at com.package.EnhancementTest.main(EnhancementTest.java:14)   ... process I got that class was succesfully processed, log has size 0, enhancer is from build objectdb-2.2.8_08 and during object ...

 
issue

Database access error , Doctor hanging on trying to repair, production shutdown at our biggest customer

we have a database shutdown, logs are showing: [2017-07-10 21:07:23 #1 store] Database 'F:\Hummingbird\Objectdb\db\coreSystemDb.odb' is opened by 11028@wzbhb101 [2017-07-10 21:07:23 #2 server] Server on port 3333 has started by 11028@wzbhb101 [2017-07-14 07:08:38 #3 store] SectionClassifier: SectionClassifier{2->merger[2699]-missing:1} [2017-07-14 07:09:08 #4 store] SectionClassifier: SectionClassifier{2->merger[2699]-missing:1} Bug Version: 2.7.1 Priority: Normal Status: Closed Replies: 15 Type:  Bug ...