[jboss-user] [JBoss Seam] - Re: EntityManager newibe Question

mzeijen do-not-reply at jboss.com
Fri Aug 25 09:28:42 EDT 2006


Use the @PersistenceContext annotation.

Example:


  | 
  | class SomePojo {
  | 
  |   @PersistenceContext
  |   private transient EntityManager entityManager;
  | 
  |    .....
  | 
  | }
  | 
  | 

I advice you to read the  EJB3 documentation or take a look at the nice http://trailblazer.demo.jboss.com/EJB3Trail/  website. 

Knowlage about EJB3 is really needed if you want to use Seam.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967472#3967472

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967472



More information about the jboss-user mailing list