About change

forum_thread

Optimistic lock

Hello When I get an optimistic lock on an object, refresh(), start trans and persist?  Will the changes made to the object before the violation be retained or must they be duplicated in the retry code?  Assuming it affects only one object.  tia. #1 2015-02-12 20:31 Hello When I get an optimistic lock on an object, refresh(), start trans and persist?  Will the chan ...

 
forum_thread

How storage works?

I have one Class Car that contains a ArrayList of Wheels. I have already one Car with 4 Wheels attached stored in the DB. If I update my Car adding a new Wheel object is all the Car updated? Or only changed part is updated? By other words, If I have one complex data model and only one part is changed, the Object DB stored the all complex data model or only the changed part? Thanks #1 2011-09-15 10:26 I have one Class Car that contains a ArrayList of Wheels. I have already one Car with 4 Wheels attached s ...

 
forum_thread

Optimistic Locking

We are having problems with optimistic locking.  I made a simple test case to try to induce an optimistic lock.... They both read and display the same data.  Then I change the data with user 1 and submit, and then I change it with user 2 and submit. User 2 does not get an optimistic lock ...

 
forum_thread

Managing software release cycles.

How do you manage software release cycles with objectDB? For example we might have different installation of a given web application, and we might need to introduce new fields with default values or to change something in the database "structure".  How can we apply the update script without downloading the entire DB file? Are there any command line tools like sqlPlus to connect to a DB and execute queries / scripts? ... need to introduce new fields with default values or to change something in the database "structure".  How can we apply the ... and they will have default values. > or to change something in the database "structure". See the following manual ...

 
api-jdo

getObjectId(pc)

The ObjectId returned by this method represents the JDO identity of the instance.(Method of javax.jdo.PersistenceManager)

 
api-jdo

makeDirty(pc, fieldName)

Explicitly mark the parameter instance and field dirty.(Static Method of javax.jdo.JDOHelper)

 
forum_thread

Log4j error

Hi, We are using OBjectDB OEM Enhancer as part of our build process and we encountered following log4j error: ... ObjectDB doesn't change the logging level, but apparently there is a class loading conflict. ...

 
api-jdo

jdoMakeDirty(fieldName)

Explicitly mark this instance and this field dirty.(Method of javax.jdo.spi.PersistenceCapable)

 
api-jdo

makeDirty(pc, fieldName)

Explicitly mark the parameter instance and field dirty.(Method of javax.jdo.spi.StateInterrogation)

 
manual

[ODB1] Chapter 8 - ObjectDB Server

An ObjectDB server can manage one or more databases. Databases that are managed by a server can be accessed by multiple processes simultaneously. In addition, the server supports accessing these databases from remote machines by TCP/IP. More details about client server mode vs. embedded database mode are discussed in Section 1.2.... specified above) indicates a check every 30 seconds. If a change is found, the new configuration is loaded automatically without having ...