Home » Search

About Object Database

121-130 of 200Refresh
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
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

Storing objects problem

I want to save this object to database: @Entity public class Device {     private String name ... for that children devices and they don't have their children devices. I'm new to this object database so I ... > children; } An object contains a list of other devices which are also type Device. My root device
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

Shrinking Database Files

context to propose an answer.) ObjectDB reuses space of deleted objects but the database ... never shrinks when large number of objects are deleted and the only way to reclaim that space would be with Database Doctor. Is there a way to reclaim database file space? Is it worth trying to reclaim
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
9

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