users@glassfish.java.net

Re: EntityManager within an interceptor class?

From: Thorsten Jungblut <ulli_at_netcorner.org>
Date: Thu, 14 Jun 2007 09:51:40 +0200 (CEST)

Hi,

> Did you try with @PersistenceContext?
> @PersistenceContext (name="sample")
> EntityManager em;

Yes of course, i meant @PersistenceContext, not @Persistence, sorry.

Best regards
T. Jungblut