|
Re: [CDO] Delete objects completely from database (turn off versioning) [message #533049 is a reply to message #533018] |
Wed, 12 May 2010 06:27 |
|
Hi Kai,
Generally these negative versions have been introduced to DBStore while
we added branching support. With branching enabled there is an important
difference between an object having no revision *yet* in a branch versus
an object having no revision *anymore* in a branch. In the first case
the framework must consult the baseline of the branch while in the
second case the object has been explicitely deleted in that branch.
While this is important for branching, we realized that there is a
certain impact also on non-branching mode. Without this extra
infromation a client can not know this difference, even though it always
operates on the implicit main branch. I.e. each such object access will
trigger a server round trip just to find out (again) that the object
does not exist (yet or anymore). So it was meant as kind of a protocol
and caching optimization.
If you don't like this feature in non-branching/auditing mode we could
discuss in a bugzilla whether and how we can make that configurable.
Cheers
/Eike
----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 11.05.2010 23:35, schrieb Kai Schlamp:
> Hi.
>
> When I remove objects from a list that is backed up by CDO, the object
> are not really deleted in the database. It is just not visible anymore
> when accessing the list and in the database "version" is changed to
> "-2". I don't need the versioning stuff. I need the objects completely
> removed from the database. This was done by default in an older
> release. How do I enable it again (resp. disable the versioning? I
> already set Props.SUPPORTING_AUDITS and Props.SUPPORTING_BRANCHES to
> "false". I am using DBStore + H2 database with CDO.
> Regards,
> Kai
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03314 seconds