Not sure this is the best forum (server side issue vs client side forum) for
your question but I'll give it a go...

Not much detail to go on so I'll assume that the code you are trying to
execute is server side and em is your entity manager.

You may want to proof everything else is working by returning a static list
instead of executing a query.
Then look at the initializer for EMF. Something is going wrong there.


On Wed, Jun 1, 2011 at 1:35 PM, Pavel Byles <[email protected]> wrote:

> Anyone?
>
> On Tue, May 31, 2011 at 10:33 PM, Pavel Byles <[email protected]>wrote:
>
>> Trying to get RequestFactory to work but I am getting:
>>
>> Server Error: Could not initialize class myproject.com.server.domain.EMF
>>
>> at the line that contains this code:
>>
>> List<Country> list = em.createQuery("select c from Country c"
>> ).getResultList();
>>
>>
>> Anyone have any ideas?
>>
>> --
>> -Pav
>>
>
>
>
> --
> -Pav
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>



-- 
-- A. Stevko
===========
"If everything seems under control, you're just not going fast enough." M.
Andretti

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

Reply via email to