Bug 406065 - @Columns annotation does not work
Summary: @Columns annotation does not work
Status: NEW
Alias: None
Product: EMF
Classification: Modeling
Component: Teneo (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Martin Taal CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-19 05:02 EDT by Harald Lernbeiss CLA
Modified: 2013-04-19 05:02 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 Harald Lernbeiss CLA 2013-04-19 05:02:55 EDT
When using the @Columns Hibernate annotation Teneo runs into the exception

org.eclipse.emf.teneo.annotations.parser.AnnotationParserException: No eclass found with name Columns

at the point the mapping needs to be generated.

The @Columns annotation is required for naming the columns to map a CompositeUserType to; see the Hibernate documentation at http://docs.jboss.org/ejb3/app-server/HibernateAnnotations/reference/en/html_single/#d0e2018.

The version 2.0.1.v201302282249 seems to contain an interface for that annotation (org.eclipse.emf.teneo.hibernate.hbannotation.Columns), but there is no class that implements that interface.