users@jersey.java.net

Re: [Jersey] JPA Problems

From: Gabor Szokoli <szocske_at_gmail.com>
Date: Mon, 28 Jul 2008 13:52:24 +0200

On Mon, Jul 28, 2008 at 12:13 PM, Markus KARG <markus.karg_at_gmx.net> wrote:
> I am using JPA inside of a JAX-RS resource. When running it standalone it
> works pretty well, but now I want to deploy it into GlassFish. I can deploy
> it and all is working well but not the JPA. It can create an EntityManager,
> but it doesn't find my @NamedQueries anymore! Anybody an idea what I have to
> change?

I run a JPA-backed Jersey service on glassfish just fine, no named
queries though.
Idea: what persistence provider do you specify in the persistence.xml?


Gabor Szokoli