Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 359019 - [Hibernate] Duplicated annotation in ETypes epackage
Summary: [Hibernate] Duplicated annotation in ETypes epackage
Status: CLOSED WORKSFORME
Alias: None
Product: EMF
Classification: Modeling
Component: cdo.core (show other bugs)
Version: 4.2   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Taal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-27 04:23 EDT by Missing name Mising name CLA
Modified: 2019-11-08 03:13 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Missing name Mising name CLA 2011-09-27 04:23:38 EDT
When a registered epackage contains an eclass with the same name as one of the ETypes epackage, CDO Hibernate throws a duplicated annotation exception and prevents the server to re-start until the colliding epackage is manually deleted from the database.
Comment 1 Eike Stepper CLA 2012-06-05 07:29:49 EDT
Moving all open bug reports to 4.1 because the release is very near and it's hghly unlikely that there will be spare time to address 4.0 problems.

Please make sure that your patches can be applied against the master branch and that your problem is not already fixed there!!!
Comment 2 Eike Stepper CLA 2012-08-14 22:51:25 EDT
Moving all open issues to 4.2. Open bugs can be ported to 4.1 maintenance after they've been fixed in master.
Comment 3 Martin Taal CLA 2012-11-24 09:08:35 EST
The solution is to annotated the colliding EClass with an @Entity(name="uniqueName") annotation.
Comment 4 Eike Stepper CLA 2013-05-20 03:17:07 EDT
Mass update. Don't worry if this bug is already closed!