You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by "Janssen, Roger" <Ro...@ibanx.nl> on 2003/04/16 11:30:48 UTC
RE: [patch] Can not persist changes to attribute of object
hi,
it would be fine if i were able to explicitely mark the object as dirty
myself,
using a TransactionImpl instance.
the TransactionImpl class only has a markDelete method.
could code below be added to TransactionImpl:
/**
* marks an object as dirty
* @param anObject Object to be marked
*/
public void markDirty(Object anObject)
{
ObjectEnvelope otw = objectEnvelopeTable.get(anObject);
otw.setModificationState(otw.getModificationState().markDirty());
}
This way, i am able to persist the changes made to a collection of strings
mapped onto one
db field, by explicitely marking the object as dirty.
thanx,
roger janssen
*************************************************************************
The information contained in this communication is confidential and is
intended solely for the use of the individual or entity to whom it is
addressed.You should not copy, disclose or distribute this communication
without the authority of iBanx bv. iBanx bv is neither liable for
the proper and complete transmission of the information has been maintained
nor that the communication is free of viruses, interceptions or interference.
If you are not the intended recipient of this communication please return
the communication to the sender and delete and destroy all copies.