About WRITE

forum_thread

Safe Settings

Hi, I am trying to set up ObjectDb in a safe way that allows turning the machine off while database transactions are running. I would like to test if things are really safe and if I don't get corrupted database files in any possible case. I found "recovery" and "recording" in the objectdb.conf file. Which one is safer to use? I suppose I should turn on sync="true", right? #1 2011-03-28 16:05 Hi, I am trying to set up ObjectDb in a safe way that allows turning the machine off while database trans ...

 
manual

Chapter 1 - Quick Tour

Quick tour on how to use Java and JPA with the ObjectDB Object Database.... program. After reading this chapter you should be able to write basic programs that create, open and close ObjectDB databases and perform ...

 
page

What is new in ObjectDB 2.0?

ObjectDB 2.0 supports many new features and improvements, including: Most of the features of the new JPA 2.0 and JDO 2.2 APIs. User defined IDs (primary key) and sequences. Support of unlimited index keys size. SQL like queries (" ...

 
page

ObjectDB License Agreement [ver. 2.0.4]

Please read carefully this software license agreement. By downloading, installing or using the software you agree to the terms and conditions of this agreement. If you do not agree to these terms and conditions - do not download, install or use the s ...

 
forum_thread

ObjectDb Supports Clustering of Servers?

Hi,     I am new to ObjectDb. we have a scenario where we deploy the same application in more than one linux (Jobss) servers. In this case user request can go to any server depends on the availability of the servers (This is for load balancing ). As of now we are using Oracle + Hibernate + JPA , as Oracle is shared data there was no problem. ... use it for a cluster of database servers, with one read / write master and several read only slaves. ObjectDB ...

 
forum_thread

Delete object from collection versus delete from JPQL

I'm a newbie, so this is a pretty fundamental question. I'm not sure if there is a bi-directional 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 objects? There are cases where the JPQL syntax is more expressive than operating on a collection, but I'm not sure if that will alter my program state.  Will it? Thanks, Lee  ... I know I can modify the objects and use persist() to write them to the database.  But does running a JPQL update or delete ...

 
forum_thread

Retrieve data of all entity classes in a single query

I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium etc) This is the code I use to retrieve all Managed Types and data for the Athlete class #1 2014-08-11 17:48 I have in an objectdb file 10 Entity Classes with some data in each (Athlete, Trainer, Stadium etc) This ...

 
issue

UPDATE query cannot set a new field after schema change

I've added a new property/field to one of my objects and want to set the value of this (boolean) property to false for all existing entities in the DB. I tried to execute an update statement with the Explorer tool. The statement ends and tells me that 1000 entities have been updated. I then save the changes to the DB via file->save. But when I execute a select on the DB I see that the field is still "null" for all instances. How do I initialize the field? ... be fixed in future versions. The workaround is to write some code (even in a simple console application) that update the objects ...

 
forum_thread

Error when trying to open the Explorer (failed to find Java VM)

Hi, I use windows 7 64 bit version. When I'm trying to open the ObjectdB explorer I get this windows error: "Failed to find Java VM".   What is the problem? ... explorer.exe and explorer-b.exe ? Can you write it from the console : > java -jar explorer.jar ...

 
forum_thread

How to define database structure and insert some initial objects from scratch

Hi from Spain! We're evaluating ObjectDB and we have some questions: - How can we create the initial database structure of our application? We know objectdb is all about objects and probably not need initial structure like tables, but how can we populate some "tables" with initial data from a script? In SQL world we have scripts like "insert into..." - Can we use main objectdb.jar library as jdbc driver for ETL software like Kettle? How about migrating data from another database system? ... To populate the database you will have to write Java code. That code, however, could be simple. Just build your entity ...