We're updating the issue view to help you get more done. 

Warnings/Exceptions for "wrong" annotations

Description

I think it would be nice to have Exceptions thrown whenever an annotation is misplaced (doesn't make any sense).

For Example:

an @Table doesn't make sense with a @MappedSuperclass. In order to make a developer's life easier it would be nice to throw an Exception (or at least warn him) to find the error earlier.

Environment

general

Status

Assignee

Unassigned

Reporter

Martin Braun

Fix versions

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

4.3.1
6.0.0-legacy (disregard)

Priority

Major