Bug 374404

Summary: [EclipseLink] generators support on mapped superclasses in 2.1 and higher - invalid validation
Product: [WebTools] Dali JPA Tools Reporter: Karen Butzke <karenfbutzke>
Component: JPAAssignee: Karen Butzke <karenfbutzke>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P2 CC: neil.hauge
Version: 3.0Keywords: ui
Target Milestone: 3.3 M4   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Karen Butzke CLA 2012-03-15 11:57:06 EDT
The eclipselink-orm.xml 2.1 schema added support for table-generator and sequence-generator on mapped-superclasses. We need model and UI support for this. Validation is needed on these generators and conversion from java to xml.
Comment 1 Karen Butzke CLA 2012-05-23 16:36:01 EDT
This can lead to invalid validation since a generator defined on a mapped superclass could be referenced by a generated-value anywhere in the project. Bug 263954 is for generators on basic mappings. Also would need to support the new UuidGenerator in EclipseLink
Comment 2 Karen Butzke CLA 2012-11-20 11:14:16 EST
Added code-assist, validation and JPA Details view support for TableGenerator and SequenceGenerator on java and eclipselink-orm.xml files starting in EclipseLink 2.1. The annotations should be converted to xml now along with all other generator annotations if the user chooses 'Move Generators to XML'.

master commit:
http://git.eclipse.org/c/dali/webtools.dali.git/commit/?id=5356a5ed339c87dc85478975707b3ef60617a957