[jboss-user] [JBoss Seam] - Re: EntityManger-per-user-session...

iradix do-not-reply at jboss.com
Wed Nov 8 10:51:47 EST 2006


>From the docs

anonymous wrote : By default, entity beans are bound to the conversation context. They may never be bound to the stateless context.

The scope specified in the bean is the scope it will be outjected to if it is created through seam (i.e. @In(create = true)).  When using @Out the default rules are observed unless you have a scope defined.

I'd suggest you keep playing with you em.  If it works in the first bean you know it's defined correctly.  Perhaps your second bean isn't getting intercepted.

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

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



More information about the jboss-user mailing list