Results 1 to 2 of 2

Thread: How to build the model

  1. #1
    Join Date
    Mar 2005
    Posts
    13

    Default 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. #2
    Join Date
    Oct 2004
    Location
    Herndon, VA, US
    Posts
    648

    Default

    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.
    --Jing Xue

Similar Threads

  1. Replies: 37
    Last Post: Dec 6th, 2007, 10:02 AM
  2. Replies: 2
    Last Post: Oct 10th, 2005, 05:12 PM
  3. Content Provider vs View Model
    By Martin Kersten in forum Swing
    Replies: 21
    Last Post: Mar 10th, 2005, 02:25 PM
  4. Petclinic Build Error (Plus Suggested Fix)
    By steve_smith in forum Swing
    Replies: 4
    Last Post: Nov 15th, 2004, 04:32 PM
  5. Replies: 3
    Last Post: Oct 21st, 2004, 03:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •