[jboss-user] [JBoss Seam] - Re: Seam-managed persistence context set-up in Tomcat - help
baz
do-not-reply at jboss.com
Tue Sep 5 11:58:25 EDT 2006
anonymous wrote : Does anyone have experience with setting up Seam-managed persistence context set-up in Tomcat?
Do you want to use embedded EJB or do you want a Hibernate session in a microcontainer. The later is described in the seam docu and there is the hibernate example in the seam distribution. The first is also described in the docu .
Please take the time to set up an respective example and try to run it. This should solve your problem. If you have deeper understanding what is going on do not hesitate to ask again.
anonymous wrote : Another question is what is the difference between
|
| @In(create=true) EntityManager bookingDatabase;
|
| and
|
| @PersistenceContext(unitName="booking") private EntityManager bookingDatabase;
Look here:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70997
Ciao,
Carsten
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3969518#3969518
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3969518
More information about the jboss-user
mailing list