Spring & Hibernate: block user from writing
I ended up using the Hibernate interceptor. If I implement onSave (), onDelete () and onFlushDirty (), is there any way to bypass these methods and write to db? If not, I am very happy with this solution. Because, as it turns out, that user is not allowed to read some of the fields.
source to share