persistence@glassfish.java.net

Clarify precedence of information supplied in map parameter to createContainerEntityManagerFactory

From: Sanjeeb Kumar Sahoo <Sanjeeb.Sahoo_at_Sun.COM>
Date: Tue, 14 Feb 2006 21:30:32 +0530

Hi Mike,

Section 7.1.3.1 states that
/When any of these properties are specified in the Map
parameter, their values override the values of the corresponding
elements in the persistence.xml
file for the named persistence unit. They also override any defaults
that the provider might have applied./

The above precedence rule is for Java SE specific create method.

However I believe it is just the *opposite* for
*createContainerEntityManagerFactory* call. Can this be clarified in the
spec?

Thanks,
Sahoo