[CDO] really removing a DB record [message #943164] |
Sun, 14 October 2012 03:54  |
Eclipse User |
|
|
|
Hi,
From the CDO API, how do I remove an object from the DB ? Currently a deleting an objects, sets the object revision a negative value, but keeps the DB record it in the DB. We use DBStore, and have auditing turned off.
Thank you, Christophe
|
|
|
|
|
|
Re: [CDO] really removing a DB record [message #946858 is a reply to message #946828] |
Tue, 16 October 2012 11:10  |
Eclipse User |
|
|
|
Am 16.10.2012 16:48, schrieb Christophe Bouhier:
> Thx Eike. It seems in the bug, there are different observations. In my case, I use this mapping:
> <mappingStrategy type="horizontal">
IIRC this is a delegating mapping strategy that looks at the repository's auditin/branching mode and sets up a delegate
accordingly. You can check with a breakpoint in HorizontalMappingStrategy.doActivate().
> <property name="qualifiedNames" value="true"/>
> <property name="toManyReferences" value="ONE_TABLE_PER_REFERENCE"/>
> <property name="toOneReferences" value="LIKE_ATTRIBUTES"/>
>
>
> Does it make any difference for the bug?
No ;-)
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.05342 seconds