Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » [CDO] Advice on best approach to replacing model content(We want to completely replace the content of a repo)
[CDO] Advice on best approach to replacing model content [message #1385578] Mon, 09 June 2014 16:58 Go to next message
David Wynter is currently offline David WynterFriend
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 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
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)?


Previous Topic:using transactional editing domain with multiple command stacks?
Next Topic:CDATA appearing in xsd:any data
Goto Forum:
  


Current Time: Thu Apr 25 13:43:28 GMT 2024

Powered by FUDForum. Page generated in 0.02774 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top