Announcement Announcement Module
Collapse
No announcement yet.
How to build the model Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to build the model

    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 Spring 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.

  • #2
    Sounds like a standard many-to-many relationship in hibernate. Not really Spring related. You probably want to start with a Role table and a RoleInheritance join table.

    Comment

    Working...
    X