geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericp56 <eric.phettepl...@twcable.com>
Subject Re: JPA and JNDI
Date Tue, 19 Aug 2008 22:06:06 GMT

>>  @PersistenceContext(unitName = "ctimssql")
>>  EntityManager em;
>dumb question... this annotated field is in an ejb class?

Whoops!  I moved this code to another class.  However, adding the @EJB
annotation didn't help.  I'm sorry, but I'm still learning a lot of this. 
Am I missing something elementary?

Eric


-- 
View this message in context: http://www.nabble.com/JPA-and-JNDI-tp19041772s134p19059651.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message