My service objects (those annotated with
@Service(SomeDomainClass.class) on the client side are being called
When a service method explicitly creates an entity and returns it to
the client, the request returns without problems.
The problem occurs as soon as I start using JPA
I use EclipseLink 2.1.0. The transaction type is Resource Local for
When I try to eject EntityManager using @PersistenceContext, it is
When I try to get the factory using
Persistence.createEntityManagerFactory("Domain"), the call would throw
javax.persistence.PersistenceException: No Persistence provider for
EntityManager named Domain
It seems that nether GWT hosted server nor deployment server
(jetty-6.1.23, same as hosted server) see persistence.xml file. It
does not matter what I type inside persistence.xml - the error is the
same, as though it is not picked up by the server at all.
Any help, especially where to place persistance.xml for a GWT project,
would be greatly appreciated. Thanks in advance.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to email@example.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
Post a Comment