Hey,
It should, but it might not be able to handle 1 column mapped to 2 different
types correctly. You can still use single table if you store the values in
different columns.
thanks,
-marina
glassfish_at_javadesktop.org wrote On 03/12/07 13:23,:
> Hey,
>
> I dont understand why,
>
> I thought that the JPA should initiate the correct subclass based on the DiscriminatorValue, and smart enough to convert the value to the correct type based on the initiated correct object..
>
>
> So, you'r saying that my only option is to use inheritance type to JOINED?
>
> Thanks.
> [Message sent by forum member 'trouby' (trouby)]
>
> http://forums.java.net/jive/thread.jspa?messageID=207520
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>