[jboss-user] [JBoss Seam] - Re: Seam component as converter with EntityManager/Persisten
bfo81
do-not-reply at jboss.com
Tue Aug 22 06:16:57 EDT 2006
@c_eric_ray: See Chapter 9.4.2 in the reference ;).
@all: I tried using SLSB as converters some weeks ago. Thanks to js8523's third post I now know why it doesn't work.
However, JavaBean Seam Components do work. But you have to add an interceptor ( @Interceptors(SeamInterceptor.class) or @Intercept(InterceptionType.ALWAYS), and use a Seam Managed Persistence Context ( @In(create=true) private EntityManager em; plus the changes in Chapter 9.4.2)...
The DVD example converter is IMO way too fat. Don't blow up your code ;).
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3966647#3966647
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3966647
More information about the jboss-user
mailing list