users@glassfish.java.net

Re: Toplink - Invalid value for getLong() - 'String' in column 5

From: <glassfish_at_javadesktop.org>
Date: Mon, 12 Mar 2007 13:23:54 PST

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