Hi,

 

We are using OJB 1.0rc4 

Before doing an insert, we are using the PersistenceBroker
retrieveAllReferences to

resolve all references of our object.

But it seems that this method not only resolves all the references, but
also

generates a new oid.

Is this normal behaviour ?

In our application this causes some problems because we are doing

some business validations between retrieveAllReferences and the insert.

Is there a workaround for this ?

The oid should be generated during the insert !

 

-- Current behaviour --

1) retrieveAllReferences (GENERATES ALSO THE NEW OID ???)

2) business validations

3) insert

 

-- Expected behaviour --

1) retrieveAllReferences

2) business validations

3) insert ( + GENERATING THE NEW OID)

 

Thanks,

 

Frank Renaers - Ikan Software Belgium

 

Reply via email to