Is anyone using the google users list or was my question lame? ---------- Forwarded message ---------- From: josh robb <[EMAIL PROTECTED]> Date: Oct 10, 2006 9:09 PM Subject: JoinedBase + Discriminator To: [EMAIL PROTECTED]
Does anyone know if this is possible? I'm pretty tired and am trying to convert the last entity of a complex (lots of relationships) model over to AR (from strongly typed datasets - yetch!). Everything has gone swimmingly but I have this funny entity to model which is a subclass of User and has a 1-1 joined table. The schema looks a little like this: User Id Name Password Type Customer UserID Address1 Address2 Country I'm 1/2 way through setting up the JoinedBase/JoinedKey for User/Customer which is all groovy - however I need to have some other specialised subclasses of User. AdminUser SupplierUser Which don't have any new fields but do have new Relationships and behavioural differences. Can I make this work or do I need to change the underlying model? I've got a lot of latitude with the datamodel (basically - I can do what I want) but I'd rather not use singletable inheritance as Customer has _many_ columns which are irrelevant for all other users. j. p.s. I'm really am tired and something is telling me I'm missing something fundamental - like the whole question is a code smell. If I am - feel free to tell me. ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ CastleProject-users mailing list CastleProject-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/castleproject-users