Reputation: 47
When defining the @ValueRangeProvider annotation on a Planning Entity, can I put it on the field, or is it only supported on the getter method?
Upvotes: 0
Views: 93
Reputation: 27312
Any annotation that works on a method should also work on a field. If it doesn't, create an RFE jira, it is a clear API gap that we would like to fix.
Like Lukas said, just try it. And paste the code you tried here if it doesn't work :)
Upvotes: 1