Quote: instanceof doesn't seem to work :-
(end of quote) Darn..that's too bad. Quote: I know I can hack andromda to do what I want, but I'd _much_ rather be able to contribute that work back into andromda for others' benefit. (end of quote) Of course, I agree: but the discriminator used with Hibernate is just used when using the "class" inheritance strategy with Hibernate (http://team.andromda.org/docs/andromda-hibernate-cartridge/namespace.html#hibernateInheritanceStrategy). I think the best way to deal with what you want to do is by defining the PublicationType enumeration and then setting this for each subclass of publication. -- Chad Brandon - [EMAIL PROTECTED] http://www.andromda.org _________________________________________________________ Reply to the post : http://galaxy.andromda.org/forum/viewtopic.php?p=2346#2346 Posting to http://forum.andromda.org/ is preferred over posting to the mailing list! ------------------------------------------------------- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar _______________________________________________ Andromda-user mailing list Andromda-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/andromda-user