Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 343232

Summary: Datastore can't be re-initialized
Product: [Modeling] EMF Reporter: Martin Taal <mtaal>
Component: TeneoAssignee: Martin Taal <mtaal>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.2   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Martin Taal CLA 2011-04-19 02:46:59 EDT
When working with dynamic models it is necessary to re-initialize the datastore. But this fails with a duplicate mapping exception from Hibernate. 

This happens because the configuration object is not recreated when calling the initialize method the second time.

See this thread:
http://www.eclipse.org/forums/index.php?t=msg&goto=665968&S=c60956cd17fe455801ac242cb4fdcc5e
Comment 1 Martin Taal CLA 2011-04-19 04:59:12 EDT
Fixed in cvs new build done