About update

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)   ... in the Explorer or using your application) in order to update the schema. ObjectDB Support ObjectDB - ... This may fix the database. Please check and update. ObjectDB Support ObjectDB - Fast Object ...

 
forum_thread

java.lang.UnsupportedOperationException

com.objectdb.o.InternalException: java.lang.UnsupportedOperationException: Unsupported feature - Update queries are not supported yet java.lang.UnsupportedOperationException: Unsupported feature - Update queries are not supported yet. Used with this code: "DELETE l FROM License l WHERE l.id = ?1", License.class); query.setParameter(1, id); int changes = query.executeUpdate(); Is there a workaround? ... Unsupported feature - Update queries are not supported yet ... Unsupported feature - Update queries are not supported yet. Used with this code: ... To post a reply and/or subscribe to update notifications - please login . ...

 
forum_thread

Some details about db behavior

Suppose I have two entities... A B -> A B has a ManyToOne relationship with A. When my database is empty and I persist a valid B entity (that contains actual A reference) I observe some behaviour that I'm not sure I understand. ... When that A instance is removed you should also update the reference from B accordingly. Otherwise, the behavior depends ... in both cases, portable JPA applications are expected to update both sides of the relationship. These rules are described in JPA ...

 
forum_thread

Improvement in replication

Hi, I was thinking about some improvement in replication mechanism. Our application do only few writes (mostly reads), but those writes are important for us - objects rating, profile modifications. So in current implementation when master node dies, there is only a chance to read data from slave and all writes fails. ... client commit returns, but the master dies before the update is propagated to the slave. Currently commit doesn't wait for confirmations from all the slaves that they got the update since this could slow transactions. ObjectDB ...

 
forum_thread

Apparent Lazy Loading issues.

Hi, Thanks for the quick investigation. That has indeed fixed that issue. However there appear to be two more. ... Holder and persisted the OtherObjects prior to calling update on Holder and then it all works. However that then means any sub parts ... To post a reply and/or subscribe to update notifications - please login . ...

 
issue

BIRT Driver Improvements

Currently the ObjectDB BIRT driver has the following limitations that should be fixed: It works with Eclipse 3.6 and BIRT 2.6 but not with Eclipse 3.7 and BIRT 3.7. It is bound to a specific ObjectDB version that it contains. ... you use Eclipse 3.7 you will have to specify the following update site - http://download.eclipse.org/birt/update-site/3.7). The driver (as 2 Eclipse bundles) is also attached, ...

 
forum_thread

TimeSeries and ObjectDB

Hi, I am using ObjectDB for storing TimeSeries (large ones) - when I get new points to add to the TimeSerie entity - I currently have to retrieve the whole timerserie since beginning of time, then add the new points, and then commit the whole timeserie again. I looked at Update queries - but they seem to be handling simple tasks - like multiply one field of the entity by a constant. More generally: 1- is ObjectDB suitable for large time series? 2/ If so - any example would be helpful - on how to organise the data. ... then commit the whole timeserie again. I looked at Update queries - but they seem to be handling simple tasks - like multiply one ... To post a reply and/or subscribe to update notifications - please login . ...

 
api-jpa

javax.persistence.MapKeyJoinColumn

Specifies a mapping to an entity that is a map key.(Annotation of JPA)

 
api-jpa

javax.persistence.JoinColumn

Specifies a column for joining an entity association or element collection.(Annotation of JPA)

 
forum_thread

ODB IndexActivation NullPointerException

Hi, We have created indexes on an existing database, which has 4.3 million objects. As soon we create first query, NullPointerException is thrown: ... 09:01 Small update: We think a workarround (but not usefull) is to create a ... 1) Create EntityManager in thread A. This thread update the Metamodel, and then close the entityManager. ... Thank you for the update. We will follow your scenario description and try to reproduce the ...