Read mapping annotations from entity properties rather than the composite pk

Description

Hardy, can you check this patch from Stale and add tests. Stale is working on Mafia-style useless SpecJ and the commitee is making it hard for us to pass the tests.

Emmanuel

Environment

None

Activity

Show:
Ståle W. Pedersen
October 26, 2009, 5:25 PM

hi, i just attached the test i used so you dont have to do it twice. - sorry about the messy patch, just had to make it work.

Ståle W. Pedersen
October 26, 2009, 5:28 PM

as i mentioned to emmanuel it will only use annotations in the entity class if no annotations is present in the idclass. this way it wont break with the current use.

Hardy Ferentschik
January 13, 2010, 5:44 PM

is a quite old issue which got originally closed without a real fix. This issue provides one.

Steve Ebersole
March 21, 2011, 7:09 PM

Bulk closing stale resolved issues

Assignee

Hardy Ferentschik

Reporter

Emmanuel Bernard

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Components

Affects versions

Priority

Major
Configure