[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-26 Thread drVillo
anonymous wrote : | Quote: | Actually I did this since I hadn't managed to get the Converter working through faces-config.xml...Is this supposed to be so? | | | I don't understand. I mean that I wasn't able to use the Converter by registering it with | | org.jboss.seam.exa

[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-25 Thread [EMAIL PROTECTED]
anonymous wrote : Should I wrap a testcase including the seam components? Any *simple* EAR should be fine. But make sure you cut it down to just what is required to reproduce the problem. Thanks. anonymous wrote : About the SFSB: I did it this way having looked at the CategoriesBean class in th

[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-25 Thread drVillo
anonymous wrote : | What happens if you use: | | Code: | | @PersistenceContext | EntityManager em; | | | | And remove (type=EXTENDED)? | It fails similarly, the same NullPointerException | at org.jboss.ejb3.entity.ManagedEntityManagerFactory.getNonTxEntityManage

[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-25 Thread [EMAIL PROTECTED]
Also, please notice that APPLICATION-scoped stateful session beans are problematic. SFSBs do not support concurrent access. It is better to use a JavaBean component if you need to cache stuff in application scope. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p

[JBoss-user] [JBoss Seam] - Re: Cant use EntityManager into Converter

2006-04-25 Thread [EMAIL PROTECTED]
Looks like a bug in JBoss EJB3. I think I have seen someone else report this. Create a simple test case and submit it to EJB3 JIRA. What happens if you use: @PersistenceContext | EntityManager em; And remove (type=EXTENDED)? View the original post : http://www.jboss.com/index.html?module=b