Tuesday, November 2, 2010

Re: Problems with JDO

Sorry, Guarav, my last message was for Caio, the original poster.
Thanks for your assistance anyhow :-)

/dmc

On Tue, Nov 2, 2010 at 4:13 PM, David Chandler <drfibonacci@google.com> wrote:
> Hi Guarav,
>
> If you're using JDO on App Engine, please use the App Engine forum for
> your question instead. This is the GWT forum.
>
> Thank you,
> /dmc
>
> On Tue, Nov 2, 2010 at 3:16 PM, Caio <caio.nery1612@yahoo.com.br> wrote:
>> Hello,
>> I'm having some troubles with JDO. I have declared two independent
>> entity classes (with no relationship), and this way, I've used them in
>> two different java classes contexts. Then, the program execution
>> generated an exception about the duplicated name of
>> PersistenceManagerFactory. I have corrected the name of this object at
>> jdoconfig.xml but a new exception ocurred:
>> javax.jdo.JDOFatalUserException. In addition, if you want to see the
>> complete error list, read below:
>>
>> Caused by: javax.jdo.JDOFatalUserException: Application code attempted
>> to create a PersistenceManagerFactory named transactions, but one with
>> this name already exists!  Instances of PersistenceManagerFactory are
>> extremely slow to create and it is usually not necessary to create one
>> with a given name more than once.  Instead, create a singleton and
>> share it throughout your code.  If you really do need to create a
>> duplicate PersistenceManagerFactory (such as for a unittest suite),
>> set the appengine.orm.disable.duplicate.pmf.exception system property
>> to avoid this error.
>>
>> THANK U FOR HELPING!
>>
>> --
>> You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
>> To post to this group, send email to google-web-toolkit@googlegroups.com.
>> To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
>> For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
>
>
> --
> David Chandler
> Developer Programs Engineer, Google Web Toolkit
> http://googlewebtoolkit.blogspot.com/
>

--
David Chandler
Developer Programs Engineer, Google Web Toolkit
http://googlewebtoolkit.blogspot.com/

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment