Bug 374404 - [EclipseLink] generators support on mapped superclasses in 2.1 and higher - invalid validation
Summary: [EclipseLink] generators support on mapped superclasses in 2.1 and higher - i...
Status: RESOLVED FIXED
Alias: None
Product: Dali JPA Tools
Classification: WebTools
Component: JPA (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: 3.3 M4   Edit
Assignee: Karen Butzke CLA
QA Contact:
URL:
Whiteboard:
Keywords: ui
Depends on:
Blocks:
 
Reported: 2012-03-15 11:57 EDT by Karen Butzke CLA
Modified: 2012-11-20 11:14 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 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