> 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.