[CDO] Advice on best approach to replacing model content [message #1385578] |
Mon, 09 June 2014 16:58 |
David Wynter Messages: 4624 Registered: July 2009 |
Senior Member |
|
|
Hi,
We have implemented the import of an xmi file content into a CDO repo. We are using H2 as the store. The problem is these are large models and the repo database get larger and larger, I assume it is keeping the old models in the store? What is the best approach to completely replacing the content with the imported xmi content? We realise we lose all history and versioning of course.
Thanks,
David
[Updated on: Mon, 09 June 2014 16:59] Report message to a moderator
|
|
|
Re: Advice on best approach to replacing model content [message #1386033 is a reply to message #1385578] |
Fri, 13 June 2014 06:53 |
|
Hi David,
Sorry for the late response. I haven't recognized your question as [CDO] related.
Comments below...
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Am 09.06.2014 18:58, schrieb David Wynter:
> Hi,
>
> We have implemented the import of an xmi file content into a CDO repo. We are using H2 as the store. The problem is
> these are large models and the repo database get larger and larger, I assume it is keeping the old models in the store?
What do you mean by "old"? I may better understand your problem if you provide your server configuration and more
explanation on how your import actually works.
> What is the best approach to completely replacing the content
Content of what? The entire repository? The history of the imported resource?
> with the imported xmi content? We realise we lose all history and versioning of course.
If your server supports auditing (that's why I asked for the server configuration) then there is no way to replace the
history of any object or resource (other than through custom SQL queries, which is potentially dangerous). Do you need
auditing (version history)?
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.02774 seconds