Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 343232 - Datastore can't be re-initialized
Summary: Datastore can't be re-initialized
Status: RESOLVED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Teneo (show other bugs)
Version: 1.2   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Taal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-19 02:46 EDT by Martin Taal CLA
Modified: 2011-04-19 04:59 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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