I need to prevent a single user from writing to the Database, is there any possibility to achieve this without changing every occurrence of save or update? I thought like wrapping the hibernate session. What would you advise me to do?
thanks
Sebastian
I’ve ended up using an Hibernate Interceptor. If I implement onSave(), onDelete() and onFlushDirty() is there any possibility to circumvent this methods and write to the db? If not I’m pretty happy with this solution. Because as it turns out this user isn’t allowed to read some fields neither.