Home » Search

About Object Database

121-130 of 200Refresh
Forum
10

can't get HashMap out of the database

I'm trying to persist an Entity containing a HashMap. It stores the data in the database OK, but the map is always empty when I get the entity out of the database again. I've reproduced this problem ... and it is still not working. It involves nested embeddable objects. I've modified the test code
Forum
10

object creation during pmf.getPersistenceManager()

Hi   We have observed that during pmf.getPersistenceManager(), objectdb is creating object ... that transaction we will create instances for all classes. The number of objects created during this invocation is really huge, that causes OutOfMemory during commit (memory for jvm 1,4GB). The object
Forum
10

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
10

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
Forum
10

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
Issue
10

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
10

"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
10

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
10

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
10

Object explorer cannot open odb file. ObjectDB many-to-many relationship

.getAssignements().get(a11pk); assertEquals(p1, a11.getProject()); But: Question 1: After my test, the database ... get an Assignement object from User object and Underlying object (but not through theirs keys). I'd like to work with typed object in the code whenever possible, and make key usage as transparent as possible