Home » Search

About Object Database

131-140 of 200Refresh
Tutorial
9

Step 4: Run the Application

for the first time, a new ObjectDB database file is generated in the db subdirectory under the ObjectDB installation directory. Running the application again will use the existing database file to store an additional 1,000 objects. You can view the content of the database file by opening it in the ObjectDB
Forum
9

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
9

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
9

Removing objects where ManyToMany relationships exist

well enough, even if there's millions of Entity and OtherEntity objects in the database, and ten-thousands ... setOfOtherEntities;   } Now consider a number of OtherEntities are removed from the database. What happens with the numerous TreeSets for all the existing Entities in the database? Are OtherEntities
Issue
9

Cannot insert more than about 2^20 objects

Hi I have a DB with 4 entities and a total of 4 index. Once I reach 1048565 total objects in the whole DB, i am unable to insert more object, although i get NO error message nor exceptions. Doctor said Db is fine (see below) I notice that 1048565 objects + 4 entities + 4 ID indexes + 4
Forum
9

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

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
9

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
9

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
9

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