About Data Source

forum_thread

Unable to convert 1.x odb file to 2.x

Hi, my company is just about to switch from ObjectDB 1.04.2487 (SE) to ObjectDB 2. So I downloaded the objectdb-2.5.5_02, activated it with our licence, enhancing went well, but then on converting 1 of the DB files I got this error: ... references have been found:   Type eu.extech.quant.data.user_attribute.UserAttributesMap, field "map" -> 12 broken ... 10:58:29 #53 type.registry] New type eu.extech.quant.data.user_attribute.UserAttributesMap [2014-05-06 10:58:29 #54 type] Type ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

find repeated records by JPQL

Hi, I know a single command in MySQL can find repeated records: Select * from TTT t where id in (select id from TTT s group id having count(id)>1) I dont know how to do this using JPQL, but I use query from 430,000 records and put them into hashmap, finally it cost one hour and failed: ... while trying to load all the entity objects into a memory data structure is expected. You may try splitting the query into two ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

Spring MVC Errors

I try to import the project from the tutorial but when doing so I get errors: 1. http://i.imgur.com/tbIsj.png and then when I try to start it anyways I get things like thaat: 2. http://i.imgur.com/G7UVu.png any ideas ? I installed m2eclipse plugin and Maven Integration for WTP and then I import Maven project from disk and this is what I get ... ;( ... got 2 elements sometimes 7 elements and sometimes not full data when it should show 8 elements every time so I decided to search objectDB ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

500Mb ObjectDb database opening issue

Hi, I have observed that 500 Mb objectDb database opening time is very slow (~3 seconds) for following code m_EntityMgrFactory = Persistence.createEntityManagerFactory( "objectdb:" + aFilename ); m_EntityManager = m_EntityMgrFactory.createEntityManager(); Does exist any way to speed-up open time for big databases? Definitely, it's too long for 500 Mb database! ... & demo presentation which show problem with long data base open operation issue. Could you check from ObjectDb side which ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
issue

JDO PersistenceManager.getSequence() returns null sometimes

When using JDO without annotations, database sequences are normally defined in the ORM file. Following discussion on the forum I was told that ObjectDB supports sequences if specified in the JDO file. Unfortunately, it doesn't seem to be supported consistently. It appears to work only in the situation that a new odb file has just been created AND something has been persisted to it. If nothing has yet been persisted, or if the odb file is not newly created, getSequence() returns null. Code to reproduce: ... jdo PUBLIC "-//Sun Microsystems, Inc.//DTD Java Data Objects Metadata 2.0//EN" "http://java.sun.com/dtd/jdo_2_0.dtd"> ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ... Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments . ...

 
forum_thread

Connection performace after upgrade to objectdb 2

Hi, I have a problem with objectdb 2 when I tried to get the PersistenceManagerFactory and PersistenceManager : In objectdb 1 : PersistenceManagerFactory pmf = JDOHelper.getPersistenceManagerFactory(getProperties(physicalPath, objectName), JDOHelper.class.getClassLoader()); takes only 3ms PersistenceManager pm = pmf.getPersistenceManager(); takes 40ms However, with objectdb 2, the same instructions take respectively : 257ms and 238ms which is very expensive. ... on many odb file, the idea is to be able to dispaly data from any of them at any time later. So I need to create ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ... Long stack traces (> 50 lines) and complex source examples (> 100 lines) should be posted as attachments . ...

 
forum_thread

alter table

Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... alter table add index ... TIA ... Hi: After a table built by real data, how to alter table structure, such as: alter table add column ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
forum_thread

How to have a distribuited GWT application with ObjectDB and Spring?

Hello to everyone! ... fine. The problem is to access the other objectdb to CRUD data... edit ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...

 
issue

again merger missing logs + objectdb exception

we are facing similar problems as we had before, in the log we have a lot of entries merger ... missing + an objectdb exception. Some objects in the system behave strange. This is a part of the log: ... [2017-09-26 12:16:14 #1222 store] SectionClassifier: SectionClassifier{238146996->merger[3309]-missing:1} [2017-09-26 12:16:25 #1223 store] SectionClassifier: SectionClassifier{238146996->merger[3309]-missing:1} ... at java.lang.Thread.run(Unknown Source) edit ... at java.lang.Thread.run(Unknown Source) edit ... query failed during reading of indexes rather than primary data and no corruption is currently found in indexes in the provided database ...

 
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: ... "6000" max = "100" /> <data path = "$objectdb/db" /> <replication ... block. Avoid overflow of published source code examples by breaking long lines . You may mark in ...