ObjectDB Database Search

101-150 of 200 results

Recursive calls with @PreUpdate annotation and Glassfish OutOfMemoryError

update (){ System.out.println(" ********* Called update () **********"); lastUpdatedDate = new Date ... /server, but the test is running embedded.  Example output of error .... ********* Called update () ********** ********* Called update () ********** ********* Called update () ********** ********* Called

Unexpected exception during open the database

updates . support Support The issue is not related to Issue #1860 . It occurs, if an implict migration ... update is not part of the objectdb.conf, this cannot be the reason.   btc_es BTC ... update , unless the target class already exists with objects, and without the index

Entity listener - event instead of object

values in updated entity. There is a problem however with accessing "old" version of object stored in ... value: {}, new value: {}, actor: {}, date: {}", new Object[] { OPERATION_TYPE_ UPDATE , entityName ... ;   .toString() : null, OPERATION_TYPE_ UPDATE , actorId, transTime));     

Optimization Question

to identify exactly what fields have changed from one update to the next. Currently the following sequence executes when a track update comes in: - If it’s a new track simply add it to the database. - If it's an update to an existing track, delete the entire previous entry and then add in the new

OneToMany and cascade delete problem

updating a bidirectional relationship ( Product - Offer ) only on one side. It is the application responsibility to apply updates on both sides. In practice, however, updating only the owner side is usually sufficient because the other side is being updated automatically when the object is retrieved

Problem on JPA Merge Entity.

). The statement update don't throw exception. And when i try to reload statement the value i have set before ... update . The statement's property is typed by a class that is a superclass of the newSingleValue ... a new component, save new component, assign component to statement and update statement. Works

How storage works?

attached stored in the DB. If I update my Car adding a new Wheel object is all the Car updated ? Or only changed part is updated ? By other words, If I have one complex data model ... Herve Ferreira If you update a complex object model - only modified entity objects are stored by

Not releasing locked MST object

update (e.g. a new type is found) and automatic index rebuilding (e.g. a new index is found or indexes require rebuilding due to schema change). As a workaround, try disabling index rebuilding ( update ) and see if it helps. Later (after the schema update was processed) you should enable it again. Let

Optimistic locking: prevent version increment on entity collection attribute

the version. Otherwise the version will be updated , and currently you cannot disable this update . Could you please explain the reason for avoiding this object version update ? support Support Thank ... , it makes sense for the version of the parent entity to be updated because order lines are an intrinsic

Optimistic Locking

(); // First user retrieves and updates the Counter:   PersistenceManager pm1 = pmf ... (); c1.increase(); // Second user retrieves and updates the Counter:   PersistenceManager pm2 ... locking to work each user should have its own PersistenceManager and the update must be based

pessimistic lock not released on commit

.PESSIMISTIC_WRITE); System.out.println("Thread A: got lock, updating ..."); e.setName("by A"); Thread ... .class, 1L, LockModeType.PESSIMISTIC_WRITE); System.out.println("Thread B: got lock, updating ..."); e ... ; } } } The output is: Thread A: trying to lock... Thread A: got lock, updating ... Thread B: trying to lock... Thread

Is it possible to remove parent/child entities without refresh?

to have an updated parent/child object tree in memory. But entityManager.refresh is too slow for our project ... the application should update both sides of the relationship, rather than calling refresh after updating ... entityManager.getTransaction().commit() I got an objectdb exception (error 613). I have updated the unit

Vacuum - Reclaiming Unused Space In Odb

with both adds and updates .  This is creating a lot of unused space in the database that we are wanting ... should complete all missing updates . You can also check for a specific update in the slave and if it exists, all preceding updates also exist. support Support Kevinwh, I'm looking into ObjectDB

OptimisticLockException

to be automatically updated in process A. So, do I need to refresh objects before using them? I ... A cannot be aware to the change in process B automatically - an attempt to apply such automatic updates by ObjectDB would be very inefficient. But you can do that update explicitly in your application

ObjectDB current status of the BIRT plugin

Just now I downloaded Eclipse Kepler Reporting. First step was to add the update site ... . Unfortunately Eclipse gave me an error not being able to contact the software update site. My questions: - Is there a mistake in the tutorial or is the software update site (temporarily) not available

Dirty checking

has succeeded, so that I can update views which are observing those objects. It seems that the JPA ... it? Note that you can also make use of a @Version field that is updated automatically for every entity ... which updates its view. In the Javascript world, libraries like Breeze.js and HorizonDB do this sort

Error 990... and then new version?

is back!  But with an updated version this time!  Here is updated (and filtered ... Joshua Chambers Thank you for the update . Could you please explain what the cause was and how you solved ... was... unhelpful. Allow me to suggest that this page really needs updating ! http://m2.objectdb.com/ joshua Joshua Chambers

Wrong @Id type

_885 Pero Novaković There was a bug in UPDATE queries that was fixed. Please see this forum thread ... them again, or use an ObjectDB version before the fix, with an UPDATE queries that change the IDs ... thread you mentioned because we don't use UPDATE queries. Also we have noticed that using tree view

Query performance in general

are the statistics created/ updated automatically by some internal mechanism? Thank ... . To use the new "objectdb statistics" update you need to use ObjectDB version 2.8.1 or later ... updated automatically. You have to run the "objectdb statistics" virtual query after major data

Incremental online backup

create a whole new copy of the DB, but " updates " an existing backup? This behavior would make ... is the incremental backup would not just update and replace the previous backup, but keep the diff from ... would not just update and replace the previous backup, but keep the diff from the previous backup

Delete object from collection versus delete from JPQL

and use persist() to write them to the database.  But does running a JPQL update or delete alter ... ; greymatter Lee Grey UPDATE and DELETE queries bypass the EntityManager entity object management ... for more details: DELETE queries UPDATE queries After using these queries you may use refresh , or

TimeSeries and ObjectDB

, then add the new points, and then commit the whole timeserie again. I looked at Update queries ... updates . See a recent forum thread , post #5 regarding  Embedded vs. Inverse Collections ... on your specific application (e.g. frequency of retrieval / updates ), what is the best model

Activated DB does not work from one to another day

.jpa.EMF.createEntityManager(EMF.java:149) at technology.tavla.misc.data.DefaultDataManager. updated (DefaultDataManager.java:63) at Proxy477134f2_95ef_4018_874c_6ad73d6468d7. updated (Unknown Source) at org.apache.felix.cm.impl.helper.ManagedServiceTracker. updated (ManagedServiceTracker.java:189) at org

Recommendation - concurrent access multiple class v

servers are taken offline, updated , then put online. The remaining 2 servers are also updated .  --- I can't update all 5 of them in the same time, because it must be no downtime for the current

Query becomes slower on moving from ObjectDB 1.x to ObjectDB 2.x

steps 1. Update the package.jdo with an index defined 2. Convert the old odb file 3. Connect ... defination and tried the following steps 1. Update the package.jdo with an index defined 2. Convert ... .. i did the following steps 1. Update the package.jdo with an index defined 2. Convert the old odb

OptimisticLockException

to the one you passed in (it is also attached). This new reference will contain the updated version ... your application (i.e. that you update an object based on an old retrieval, overriding another recent update ). Additional information on optimistic locking is available in the manual . support Support I

EntityManager JPA or JDO impl and different behavior

the OtherObjects prior to calling update on Holder and then it all works. However that then means any sub parts of OtherObjects (ie the Map ) don't get updated when they are changed ... for ExampleTest.java). I have attached the updated Maven project. Please let me know if I have missed

Slave server not getting deletes

This is an interesting report. Have you tried a normal remove. i.e. not using a delete query? Update ... . DELETE and UPDATE queries bypass the persistence context and the cache, and therefore, an extra caution ... (); after executing UPDATE /DELETE queries? Trianglehead Json Error You may try. According to the documentation

DB Explorer cannot be opened after schema package renaming of entity types

update tries to rename the package name for entity types and deprecated entity types ... manually before the schema update then the database can be opened in the DB Explorer after the schema update . ObjectDB Version: 2.8.5.b05 btc_es BTC EmbeddedSystems Thank you for this report and for sharing

@PrePersist Implementation

the information in a combination of more than one event. When a managed entity object is updated , to get the entity before the update use the @PreUpdate event, and to get the entity after the update

Question about modification

;             Query consulta = em.createQuery(" UPDATE vehículos"   ... = em.createQuery(" UPDATE " + entidad + "SET " + campo1 + "=" + valor + "WHERE id = 1");     ... ;                 Query consulta = em.createQuery(" UPDATE "  

Some details about db behavior

part of the B instance. When that A instance is removed you should also update the reference from B ... . If A is the owner, B will be updated to reference a null value automatically on the next time ... to update both sides of the relationship. These rules are described in JPA books and in the JPA

Enhanced classes problem

. Please note that the ability to load mapped by relationships in bulk , which these reports

Mapped by fields are not initialized by JOIN FETCH in queries

and the test in the forum passes), but still loading bulk of inverse fields requires performance improvement. support Support

Removing of an entity removes also another entity type

.7.1_03. btc_es BTC EmbeddedSystems OK. Thanks for the update . Please note that mixing direct DELETE / UPDATE database queries with EntityManager 's operations is known as problematic. It is not specific to ObjectDB but general to JPA. DELETE / UPDATE JPA queries bypass the  EntityManager

Memory leak in com.objectdb.o.CST

more spikes than usual.  My server's graph is usually fairly flat before this update .  Perhaps there is some performance tradoff with this update to save memory usage? In the attached ... this update ) and see if there's a performance difference. Trianglehead Json Error Just an update

cannot delete objects after crash (see issue 2283)

after writing and flushing the transaction updates to the recovery file (the database file itself may be updated later), but possibly before the updates are physically written to the disk, as the OS / disk ... that case it is possible that some updates would be written physically to the database file before

ObjectDB Server not able to handle large collections

.objectdb.o.RSL$a.next(RSL.java:237)         at eu.extech. update ... . update .PersistentVersionedBDOCollectionMigrator$1.process(PersistentVersionedBDOCollectionMigrator.java:42)         at eu.extech. update .common.migration

com.objectdb.o.InternalException: null

(AquaTreeUI.java:129) at javax.swing.plaf.ComponentUI. update (ComponentUI.java:161) at javax.swing ... ) at com.apple.laf.AquaTreeUI.paint(AquaTreeUI.java:129) at javax.swing.plaf.ComponentUI. update ... .swing.plaf.ComponentUI. update (ComponentUI.java:161) at javax.swing.JComponent.paintComponent(JComponent

Unexpected exception (Error 990) com.objectdb.o.InternalException

;     System.gc();         // Update ... ; em.getTransaction().begin();         embeddable. update ();   ... ;  void update () {             x++;  

retrieval again and again started

If there are no more retrieval errors it is excellent news. Thank you for the update . support Support update ... then we can close this issue. It can be re-opened if something changes. Thank you for the update . support ... -Georg Zwicker Thank you for the update . Note that posts #1 to #7 are about the "SectionClassifier

Can't open replicated database

for a query (just read, no update ) but it fails with the error below. The code I'm using is (user & password ... is: [ObjectDB 2.2.8] javax.persistence.PersistenceException Attempt to update types in read ... to update types in read only mode at com.objectdb.o.MSG.d(MSG.java:61) at com.objectdb.o.SHN.ab(SHN

queries under 2.7.6_4 significantly slower than under 2.7.6

we update to the latest version from 2.7.6. Now we have the problem that we have numerous logs ... Zwicker Still working on your report, hopefully will be able to update soon. support Support Update ... for the update , we can wait until you have a better solution, we did step back to 2.7.6 for the time

Enhancing a class causes it to not save changes.

. ------------- Update ------------- The problem appears to be reflective setting of fields.  In ... . This is much less efficient but can work well also with updating objects with reflection. If you want ... have enhancement off, and fails otherwise.  (Included updated DBTest.java) Any idea

missing merger

), when these large objects are updated to small objects ( merger[9507]-missing:1} [2025-04-29 13:17 ... . Both have been updated yesterday, possibly when the error was generated. So this time it might be a cache issue ... , the system is getting unusable in this error case Yesterday's report indicated log errors only (#24, 3), so this update

ArrayIndexOutOfBoundsException on flush

to managing large objects. Do you use update queries? Update queries are new and maybe they do not ... out the build 08 being the cause - i will reapply this update as the same problem seems to occur...) felixobjectdb Richard Szurgot I updated to 2.3.3 and get the same errors as above. The entity referred

BIRT Driver Improvements

Alexander Adam The BIRT driver has been updated and now it can work on Eclipse 3.7. In addition ... tutorial (if 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

new objects not available in mappedBy associations

This seems to be the normal behavior - according to JPA the application has to update both sides in order to have a synchronized bi-directional relationship. In practice, however, the mapped side will be updated ... object after the transaction is committed (or after the update and before commit, if your EntityManager

ObjectDB 2.5.6

queries. Fixed an exception ( NullPointerException ) in update queries (since 2.5.5_12). Fixed ... UPDATE queries on uncommitted changes ( issue #1407 ). Fixed a memory leak in reflection mode (when using non enhanced classes). Fixed a bug of  unexpected change of primary key type  in UPDATE

Negative snapshot user count exception

file size = 297009152, dirty pages = 1, update list s = 2, dirty page map = 1,   FastModel Ben ... information? FastModel Ben Schreiber Discussion was moved to a private support ticket. Update ... a better error message in this case. Update : The original error message "Negative snapshot user count