users@glassfish.java.net

Re: RE: @PersistenceContext ignored in library jar classes?

From: <forums_at_java.net>
Date: Wed, 29 Aug 2012 07:03:01 -0500 (CDT)

> Annotated pojo must be defined as in beans.xml check >@PersistenceContext
requires a META-INF/persistence.xml check >If there is still a failure try
@PersistenceContext(unitName="name") yes >also make sure annotations-api*.jar
is ON CLASPATH tried it, didn't change anything. annotation-classes should be
on classpath anyway, they are part of JEE6 api regards /roland

--
[Message sent by forum member 'bergler']
View Post: http://forums.java.net/node/889633