[jboss-user] [JBoss Seam] - Re: Can not inject Seam components into other components
hstang
do-not-reply at jboss.com
Fri May 25 22:26:12 EDT 2007
Might want to try to remove @PersistenceContext as it probably wouldn't be recognized since the owning class isn't an EJB.
Use a seam managed persistence context instead.
"grettke_spdr" wrote :
| | @Name("partyService")
| | @Scope(ScopeType.STATELESS)
| | public class PartyServiceImpl implements PartyService {
| | ...
| |
| | @PersistenceContext
| | EntityManager em;
| |
| | ...
| | }
| |
| ...
|
| What am I doing wrong?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4048811#4048811
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4048811
More information about the jboss-user
mailing list