[jboss-user] [JBoss Seam] - Re: hibernate session is not injected
do-not-reply at jboss.com
Mon Jul 30 17:08:57 EDT 2007
I've found the reason. Code which uses this session was put into getter method and this getter was within ajax request which doesn't need or calls
proxied action methods (so no injection happens).
The query which used session should have been in
@Create create() method instead of getter.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068905#4068905
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068905
More information about the jboss-user