About Object Database

111-120 of 200Refresh
Forum
17

Delete object from collection versus delete from JPQL

between memory and database objects. See these manual pages for more details: DELETE queries UPDATE ... relationship between the objects in memory and ObjectDB.  I know I can modify the objects and use persist() to write them to the database.  But does running a JPQL update or delete alter the in-memory
Forum
17

Refresh data in application after database data has changed

Hi, I have a Java program that can manage and create some Person objects. When I start my application and I want to add a person with the same national number as a person already in the database, my program has to block the creation. So far so good. Now... I have a person in my database
Forum
17

"Attempt to lock a non entity object" error

Probably a simple answer for someone who's been using ObjectDB for awhile: I'm reading objects from the database outside a transaction (inside doesn't seem to matter). First cycle of doEdit ... object" session.rollback() is somehow causing the problem (found through debugging
Forum
17

ObjectDB 2.6.9_06 (embedded): Cascading merge resulting in duplicate objects

this class. If I load a NaturalPerson entity from the database, then add a new address to the object's "addresses" list and use EntityManager.merge(object) to persist it along with the new address ... This issue maybe related to issue #110 (http://www.objectdb.com/database/issue/110
Issue
17

Sort of very large objects - out of memory

the following actions: 1) Create 5 persist threads which create and persist a large object in a loop 100 times each 2) Create 5 get threads which read 100 objects each in a loop based on object ... of "live" data in play at any time. The objectdb cache settings are low in the config - database
Forum
17

Database size is much larger than expected (x2)

problem if the images are very large - try commit every 256 images. The database size ... the message #2 mentioned. >>The database size should be larger than the size of the image files on the file ...     } } The result database size is about 3GB as expected. Another thing to check in your code
Forum
17

persisting object with long[][] arrays of array

100,000 small objects (arrays) to the database is expected to take much more time than persisting ... Hi, I have an object I am trying to persist (java) - It has several fields of type long ... (); Here is the object: import java.io.Serializable; import javax.persistence.CascadeType; import javax
Forum
17

Object belongs to another EntityManager - ERROR

a record in database [ObjectDB 2.4.6_13] javax.persistence.RollbackException 10:29:14,880 ERROR [stderr] (http--10.23.3.98-8081-5) Failed to commit transaction: Object 'pbdmodel.impl.OrgJedinicaImpl ... .UserException: Object 'pbdmodel.impl.OrgJedinicaImpl#8' belongs to another EntityManager 10:29:15,072
Issue
17

JPA Composite Key make Object Db throws "Unexpected exception (Error 990)"

Hello Object Db community :) I am using this wonderful library and I caught a strange exception ... are compliant with the object Db Documentation: http://www.objectdb.com/java/jpa/entity/id Unfortunately, while merging the entity, object db is throwing the following Exception : [ObjectDB 2.4.0
Forum
17

Object DB vs EclipseLink/TopLink: Unloaded relationships in detached entities

a FETCH JOIN as described here: Detach JPA objects with lazy initialized properties This has the big ... .eclipse.org/mhonarc/lists/eclipselink-users/msg05258.html: Detached Objects get the connection need ... loading association from the database, when it needs it (without any merge call). From doug clarke