persistence@glassfish.java.net

Code fix for Issue 267 : DiscriminatorValue is not defined

From: Pramod Gopinath <Pramod.Gopinath_at_Sun.COM>
Date: Thu, 16 Feb 2006 15:15:56 -0800

Hi Tom
 I am attaching code changes relevant to Issue 267.
This is a case where the user has defined Inheritance strategy of
"JOINED" (or "SINGLE_TABLE") and not defined a DiscriminatorColumn or
DiscriminatorValue annotations.
In this case in the current code there is a bug where we would get a
NullPointerException for the DiscriminatorValue part.

I have attached the changed source and the cvs diff file.

Thanks
Pramod