On 15 Nov (19:43), Les A. Hazlewood wrote: > 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
Thats why you have to use the <subclass> strategy instead of the <joined-subclass>. You have a discriminator value already, but keep in mind that this strategy has some problems, like impossibility of NOT NULL constraints. -- Christian Bauer [EMAIL PROTECTED] ------------------------------------------------------- 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