persistence@glassfish.java.net

Re: no.weaving option

From: Mitesh Meswani <mitesh.meswani_at_Sun.COM>
Date: Thu, 12 Jan 2006 10:09:04 -0800

Please go ahead an file a issue on java.net

Thanks,
Mitesh

Pierre Delisle wrote:
> Mitesh,
>
>
>> Please pass a HashMap to createEntityManagerFactory as follows to work
>> around the NPE.
>> EntityManagerFactory emf =
>> Persistence.createEntityManagerFactory("em", new HashMap());
>>
>
> This did the trick. Many thanks for the quick reply!
> Please let me know if I should file a bug.
>
> -- Pierre
>