Re: EJB3 - inherited @Id primary key not found

Scott Ferguson <[email protected]> Wed, 10 May 2006 14:46:45 -0700
Newsgroups gmane.text.xml.resin.user
Message-ID <[email protected]>
On May 10, 2006, at 2:43 PM, Alex Cruise wrote:

> - One of Resin's pecularities is the subject of this email. :)
>
> I use an abstract superclass for all my persistent entities; Resin  
> (unlike any other container) doesn't like this class to be mapped  
> in persistence.xml, complaining that abstract classes can't be  
> entities.  But when I remove it, Resin complains that its  
> subclasses don't have primary keys.
>
> Is there a simple workaround?

I don't think so. I've just filed it as a bug.  http:// 
bugs.caucho.com/view.php?id=1090.

-- Scott

>
> Thanks!
>
> -0xe1a
>