Sahoo,
If integration properties are not used then it may be null.
We will add this line in.
Thanks,
-Mike
> -----Original Message-----
> From: Sanjeeb.Sahoo_at_Sun.COM [mailto:Sanjeeb.Sahoo_at_Sun.COM]On Behalf Of
> Sanjeeb Kumar Sahoo
> Sent: Thursday, February 09, 2006 8:56 AM
> To: Mike Keith
> Cc: persistence_at_glassfish.dev.java.net
> Subject: can map be null in createContainerEntityManagerFactory?
>
>
> Hi Mike,
>
> In the latest spec, createContainerEntityManagerFactory takes a map
> parameter? The javadoc does not state clearly what is the expected
> behavior if *map is null*? Is it an allowable value or an NPE
> is thrown?
>
> /**
> * Called by the container when an EntityManagerFactory
> * is to be created.
> *
> * @param info Metadata for use by the persistence provider
> * @return EntityManagerFactory for the persistence unit
> * specified by the metadata
> * @param map A Map of integration-level properties for use
> * by the persistence provider.
> */
> public EntityManagerFactory createContainerEntityManagerFactory(
> PersistenceUnitInfo info, Map map);
>
> Thanks,
> Sahoo
>