Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hibernate version:
Mapping documents:
Code between sessionFactory.openSession() and session.close():
Full stack trace of any exception that occurs:
Name and version of the database you are using:
The generated SQL (show_sql=true):
Debug level Hibernate log excerpt:
Example:
In RBAC model,
Well-known , Role has the inherited characteristic. Now if I has four Role: R1,R2,R3 and R4. R1 contained R3,R2 contained R3 R4, and I Used Hibernate as persistent layer.
My question is how to build the role table in database to fulfil the requirement above and then How to do in Hibernate mapping file.