Home » Modeling » EMF » [CDO] disable commit info.
| | |
Re: [CDO] disable commit info. [message #1252672 is a reply to message #1252657] |
Fri, 21 February 2014 13:15 |
|
Am 21.02.2014 14:00, schrieb Christophe Bouhier:
> On 20-02-14 16:47, Eike Stepper wrote:
>> Am 20.02.2014 13:42, schrieb Christophe Bouhier:
>>> Hi Eike,
>>>
>>> I have a custom commit info handler, which persist self-managed commit
>>> information. I install this handler, and it's all fine and working.
>>> However the cdo_commit_infos is also populated in the DB. Can I
>>> somehow turn of the persistence of the cdo_commit_infos table, while
>>> keeping my own commit info handler?
>> I don't think there's a switch already but it should be easy to
>> introduce a new repo or store level config property to make it
>> configurable. Would you like to contribute a patch for this?
> Yes.
>
> just to clarify. If I don't install a CommitInfoHandler, would CDO still persist commit infos?
Yes. You can find the call in org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(InternalCommitContext, OMMonitor),
the super class of DBStoreAccessor.
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Re: [CDO] disable commit info. [message #1252726 is a reply to message #1252672] |
Fri, 21 February 2014 14:38 |
Christophe Bouhier Messages: 937 Registered: July 2009 |
Senior Member |
|
|
On 21-02-14 14:15, Eike Stepper wrote:
> Am 21.02.2014 14:00, schrieb Christophe Bouhier:
>> On 20-02-14 16:47, Eike Stepper wrote:
>>> Am 20.02.2014 13:42, schrieb Christophe Bouhier:
>>>> Hi Eike,
>>>>
>>>> I have a custom commit info handler, which persist self-managed commit
>>>> information. I install this handler, and it's all fine and working.
>>>> However the cdo_commit_infos is also populated in the DB. Can I
>>>> somehow turn of the persistence of the cdo_commit_infos table, while
>>>> keeping my own commit info handler?
>>> I don't think there's a switch already but it should be easy to
>>> introduce a new repo or store level config property to make it
>>> configurable. Would you like to contribute a patch for this?
>> Yes.
>>
>> just to clarify. If I don't install a CommitInfoHandler, would CDO
>> still persist commit infos?
> Yes. You can find the call in
> org.eclipse.emf.cdo.spi.server.StoreAccessor.doWrite(InternalCommitContext,
> OMMonitor), the super class of DBStoreAccessor.
>
Thanks
https://bugs.eclipse.org/bugs/show_bug.cgi?id=428747
> Cheers
> /Eike
>
> ----
> http://www.esc-net.de
> http://thegordian.blogspot.com
> http://twitter.com/eikestepper
>
>
|
|
|
Goto Forum:
Current Time: Fri Apr 19 01:57:43 GMT 2024
Powered by FUDForum. Page generated in 0.02313 seconds
|