Hi all, I'm just looking for some advice regarding mapping a reasonably complex class with OJB.
The basis of the problem is the structure of a "User" transfer class. The class includes name, password and so on. However, it also includes two Collections; a vector of "permissions" and a vector of "permission holders". The permissions class is a simple one and can be handled with a many to many relationship. The permission holder is more complex and defined by an interface. It may be implemented as a Role, Group or User. Hence a User (or Role or Group) is a permission holder and can also hold other permission holders. This facilitates quite a rich structure of permissions. The question relates to the possibility of mapping a single vector (PermissionHolders) within a (say) User to the three RDB data sets that define Roles, Groups and Users. Of course it is possible that the basic structure is flawed! Thanks in anticipation, MarcusUnix Systems Administrator +61 3 9873 0155 +61 3 9720 7467 (fax) --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
