I need some advice regarding my mapping. Actually, i'm working on an application (JEE,Hibernate 3, Struts2) in which i have two profiles (Admin, Process) and i need to authenticate my users and redirect them into different jsp pages with different menus.
Well my question is what i can do best for the mapping: an admin table + a process table that inherits from user and use the discriminator tag into the mapping of user? Or should i do a one to one mapping between the user table and the other tables ?
Ps: I'm using an xml file for mapping.
Thanks