Property names: class
If an entity property is defined with the name “class”, it will generate a getter for that with the name getClass, which overrides Java’s Object’s built-in getClass. This fails. Maybe it should be renamed internally.
Submitted by Zef Hemel on 18 March 2010 at 15:28
Issue Log
On 18 March 2010 at 15:31 Zef Hemel commented:
Same goes for: “id” and “version”
On 20 March 2010 at 22:33 Nathan Bruning commented:
Constraints have been added to prevent the use of these built-in property names.
Also disabled ‘class’ as property name for the moment.
Log in to post comments