Actually an EntityManager should have this information, but I don't
think it makes it available in any API.
Thanks,
Sahoo
glassfish_at_javadesktop.org wrote:
> I have an abstract class called Location that implements Entity. I also have a few Entity-implementing classes called Land, Province, Region, City, etc. that extend Location. No when a user wants to create a new location, I want to show him a list of all those extensions. I could just hard code it all, but that would mean that any time I create a new entity, I have to update one or more classes.
> [Message sent by forum member 'diederick76' (diederick76)]
>
> http://forums.java.net/jive/thread.jspa?messageID=301342
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>