ObjectDB Database Search

51-100 of 104 results

EntityManager refresh problem

object has not been stored yet in the database. If we change the code and add a flush operation ... ;     entityManager. flush ();         

Exception on creation when running multithreaded

are executed on flushed changes that have not been committed yet - this may indicate an ObjectDB ... would be very helpful. support Support Yes, the query was executed on flushed changes and I

Query for objects persisted within the same transaction

was persisted. lwalkowski Lukasz Walkowski You may change the default flush mode: https://www.objectdb.com/java/jpa/query/setting# Flush _Mode_setFlushMode support Support Thanks, The part about performance in

Slave server not getting deletes

and disable the L2 data cache. support Support What about calling em. flush (); em.clear ... ; I have done some test cases, and doing a em. flush (); em.clear(); after the query

Need to close+open database for a commit to be taken into account

Hi, I have one case where commit (update of entity in this case) is not taken in account unless database is actually closed and re-open, no error. I tried to use flush instead of close+re-open ... entities) I would like to know if i could try anything else that flush to replace the close+open

calling persist on an object more than once

may be thrown at flush or commit time.) The right way to update an entity doesn't include invocation ... for existing entity in the database is only performed on commit or flush . support Support

evictAll() behavior

one transaction and i want to reclaim memory after commit or even better after flush but  I can imagine that after flush method it could be problematic so i did sth like this  

Access entity version before commit transaction

field it doesn´t. I tried transaction. flush () in combination with transaction.refresh(entity ... ;    transaction. flush ();           

ClassCastException of same object type

) at com.objectdb.o.OBM.bG(OBM.java:800) at com.objectdb.o.OBM. flush (OBM.java:735) at org.sportscoring

problem with lazy loading - unittest project attached

commit). Using EntityManager 's flush during the transaction. support Support

Mismatch client-server protocol prefix

during commit or flush  and should indicate an attempt to persist a new entity object with a primary key

Need help to make this test work and define proper annotations for entities Lists

;  em. flush ();              em

OrphanRemoval not working?

to null. When saving the entity, I'm using merge and flush . The entity object is managed, so I think

find() delay

results. I tried em. flush (), em.clear(), etc.. that do not work. Any idea? TIA gzdillon Lai Yang Maybe

Using Enum type in NamedQuery: Field is not found in type

whereas my ObjectDB database file isnt being created until the first EntityManager flush , so maybe

Entity can be found by find() but not by query

If transaction B started before transaction A committed, and it stored data using flush

Inserted entities with strings as keys and indices needs more and more ram memory in comparing to primitive integers as keys and indices

pages (due to using UID primary key) will  take less space. Use flush during large

Problem with @Basic(fetch = FetchType.LAZY)

.getTransaction().commit(); em. flush (); em.close(); emf.close();       

Unexpected exception com.objectdb.o.PAG.N()" because "this.h"

volumes of " flush without commit" operations. Because this is a specialized, undocumented setting

Attempt to remove a detached entity object (error 613)

: * How can i see the low level batch SQL operations before flushing the merge. So i

Cascading persistence through an inverse field

automatically when the object is retrieved (or refreshed) from the database after commit or flush

Entity has be persistended,but query not fetched?

.createEntityManagerFactory("$objectdb/ flush .odb");         EntityManager em

Query results are not up to date for entities, not primitives

",     personID)   .executeUpdate(); em2   . flush (); em2   .clear(); tr

finding post-persist pre-commit objects

Hi, I'm wondering if there is a way to have post-persisted, pre-committed, objects show up in queries? ie: the object has been persisted, but not yet committed. Dave   dmoshal David Moshal Yes, by setting the flush mode . support Support thanks, worked for me.   dmoshal David Moshal

Query problem after transaction commit

issue with a simple solution (e.g. changing flush mode from commit to auto could solve

ObjectDB 2.6.8

after flushing a removed modified entity object. Fixed a  NullPointerExeption on new index building . Fixed a NullPointerExeption on flush ( issue #1840 ). Fixed a bug in using temporary files in

[ObjectDB 2.6.0_04] Unexpected exception (Error 990) com.objectdb.jpa.JpaQuery.getResultList

condition of running a query in a transaction with uncommitted flushed updates, where these flushed updates

ObjectDB 2.6.5

Added optional (experimental) support of using clients with different object model versions. Changed references to new flushed objects from ObjectDB to weak references. Cancelled an exception ... of connections specified in configuration. Fixed optimistic lock exception on removing of a flushed modified

ArrayIndexOutOfBoundsException: -1

:945) at com.objectdb.o.OBM.bH(OBM.java:818) at com.objectdb.o.OBM. flush (OBM.java:739) ... 1 ... size. In some situations (e.g. when using flush that is followed by other operations and then commit

Best practise loading big data

is that currently we have no other chance then to cut transitions or flush or clear or close from ... /rollback/ flush /reconnect strategy but it would be definitely better to have such strategies

Persist & remove in same transaction

I have a test case (attached) which performs the following actions: Open a new transaction Create & persist a simple entity object, EntityManager is flushed , Transaction is not committed Count ... Remove the entity object, EntityManager is flushed & cleared, Transaction is not committed Count

[ObjectDB 2.6.7_04] Unexpected exception (Error 990)

you for this report. The stack trace indicates an unexpected condition at the end of a flush

File lock exception on odb$

.createEntityManager(EMF.java:176) at rbccm.felix.objectdb.workflow.ObjectDbInstanceContainer. flush (Unknown Source

ObjectDB 2.9.3_01

Fixed issue #2964  part 2 (posts 15-...) - refresh after flush can fail.

Negative snapshot user count exception

during query execution on a flushed transaction, i.e. there are uncommitted changes in

ArrayIndexOutOfBoundException

is invoked, do you have an open transaction? Are there flushed but non committed changes to the database

ObjectDB 2.8.8

#2750 ). Fixed an error on closing an  EntityManager  with non-comitted flushed transaction

ObjectDB 2.6.1

Added an option to disable temporary file deletion . Added support of using entity classes with missing dependent types. Added support of composite indexes with components of different lengths . Fixed a bug in reflection mode in detecting changes after flush ( issue #1602 ). Fixed

NullPointerException when using multithreading

thread has its own instance of EntityManager.  After 500 persists, the thread calls a flush

ObjectDB 2.6.9

PersistenceUnitInfo. Fixed a bug in removing a modified flushed entity object.

cannot delete objects after crash (see issue 2283)

after writing and flushing the transaction updates to the recovery file (the database file

ObjectDB 2.6.4

Added memory only database mode. Added an option to cascade detachment to embedded objects . Added an option to disable reuse of database page objects . Improved release of query resources. Improved memory management in multi flush transactions. Extended detachment of embedded objects

ObjectDB 2.6.0

connecting to a server. Fixed a  NullPointerException  during close ( issue 1531 ). Fixed refresh of a new managed entity object after flush .

Enhancing a class causes it to not save changes.

. In reflection mode ObjectDB doesn't track anything until flush /commit and then it just compares

Blocked by find

callback event rbccm.felix.framework.ApplicationException: Error flushing data container at rbccm

ObjectDB 2.2.4

bugs in using flush . Fixed bugs in cascading merge. Fixed a multithreading deadlock bug . Fixed a bug

ObjectDB 2.2.1

Added support for using ObjectDB with JBoss AS 6.0 / 6.1 . Fixed several bugs in handling eager fetch. Fixed a pessimistic locking bug . Fixed a bug in using primary key fields in queries. Fixed a bug in queries on deleted objects before commit / flush .

ObjectDB 2.3.3

Improved compilation performance of OR queries with many elements. Fixed eager fetch of maps and nested embedded objects. Fixed a bug in removing a new flushed entity object before first commit ( issue #562 ). Fixed a NullPointerException in accessing inverse (mapped by) collection fields

ObjectDB 2.6.2

Added support of entity classes with missing implemented interfaces in the Explorer. Added method com.objectdb.Utilities.newTrackable(em, cls) for improved performance. Added a temporary workaround for NullPointerException  on query after flush ( issue #1623 ). Improved title of query result

Getting an error when adding activation code to conf file

- { MyEntity myEntity = new MyEntity("test" + i); em.persist(myEntity); if(i % 5000 == 0) { em. flush (); em