impetus-opensource/Kundera — Issue #24: Kundera should switch between field/property access depending on how entities are annotated
Author: zenbones
Created: 2012-01-23 18:53:58+00:00
State: open

The JPA spec. allows for both field access (vie field reflection) and property access (via implied getXXX()/setXXX() methods) to be used to read/write Entity level properties. This switch occurs depending upon the use of the @Id annotation (on a field, then field access / on a property, then property access). Kundera currently allows only field level access, but should probably allow both.