Folks, I haven't received a reply to my forum post, so I was wondering if anyone here on the developer mailing list might be able to help out....
My post: http://forum.hibernate.org/viewtopic.php?t=925582 Basically, I'm trying to save instances of different subclasses to the same table... the table looks like: table: permissions: id | class_name | target_name | actions ---------------------------------------- id is a uuid string class_name is the fully qualified class name of the instance's class Is there a way to tell Hibernate that all instances of any subclass of java.security.Permission should get stored to a single table? It doesn't make sense to me to create a different table per subclass, since all the columns are identical for all subclasses... I don't think this is possible using a UserType, since a UserType is for properties of a class instance, not for the entire instance itself. Any insight? Thanks very much, Les ------------------------------------------------------- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl _______________________________________________ hibernate-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/hibernate-devel