anjali wrote:
Has anyone come across any best practices for data-level security in Hibernate? Any source of information, links etc ?
The best practice for security reasons is not to have security in Hibernate :)
Application level security for data is the same as application level data validation, it is more UI helper than security.
If you need security then use native data base security or use stored procedures/triggers to implement custom security.
Mapping will be more complicated, you will need to use views for all tables and "RULE"/"INSTEAD OF TRIGGER" to "hide" procedures. It takes a lot of to time to design this kind of database, but you must pay this if you need quality and security.