PropertyAccessMixed not aware of Access annotation

Description

PropertyAccessMixed (and PropertyAccessEnhanced that drives from it) don't take into account the Access annotation to determine when to use field/property access.

Environment

None

Activity

Show:
Luis Barreiro
June 21, 2016, 4:44 PM

PR: https://github.com/hibernate/hibernate-orm/pull/1439

A little bit of context: this issue is a followup on HHH-10644. Among the possible fixes for PropertyAccessEnhanced it was decided that for simplicity the best is to extend PropertyAccessMixed since most of the code is shared anyway, and have it handling the access strategy properly by being aware of {{@Access }} annotation.

周雁鸣
June 22, 2016, 1:21 AM

Please fix it in 5.1.1 also, 5.2.x deprecated hibernate criteria which I liked, we are stay with 5.1.x.

周雁鸣
July 1, 2016, 3:50 AM

No fix for 5.1.x and 5.0.x ?

Gail Badner
July 1, 2016, 5:45 AM

Reopen to add 5.1.1 and 5.0.10 as fix versions.

Gail Badner
July 1, 2016, 5:46 AM

Resolve after adding 5.1.1 and 5.0.10 as fix versions.

Assignee

Luis Barreiro

Reporter

Luis Barreiro

Fix versions

Labels

None

backPortable

None

Suitable for new contributors

None

Requires Release Note

None

Pull Request

None

backportDecision

None

Affects versions

Priority

Major
Configure