dev@glassfish.java.net

Re: Faulty persistence loading

From: Bill Shannon <bill.shannon_at_sun.com>
Date: Thu, 02 Feb 2006 00:20:23 -0800

> Only persistence.xml defines a persistent unit. @Entity might not mean
> anything - it can be a non-managed client view or an excluded object.

You're right, we decided persistence.xml is always required to mark a
persistence unit. But once we find a persistence.xml, we might then
need to scan for classes with the @Entity annotation.