[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-16 Thread [EMAIL PROTECTED]
Well, use getter: | List existing = em.createQuery("select u.username from User u where u.username=:uname").setParameter("uname", user.getUsername()) | .getResultList(); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046201#4046201 Reply to the pos

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-16 Thread sandytech
If i'm using the code which you have given then i'm unable to complie the class its showing an error like "The field User.username not visisble" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046195#4046195 Reply to the post : http://www.jboss.com/index.htm

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-16 Thread [EMAIL PROTECTED]
[org.jboss.seam.servlet.SeamExceptionFilter] uncaught exception javax.servlet.ServletException: Error calling action method of component with id register:register is too generic. I am asking for the full stack to see what is causing it. With you original code it was | Caused by: org.hibernat

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-16 Thread sandytech
ya i rebuilt the application and redeployed it.still i get the same error like [org.jboss.seam.servlet.SeamExceptionFilter] uncaught exception javax.servlet.ServletException: Error calling action method of component with id register:register View the original post : http://www.jboss.com/index.

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-16 Thread [EMAIL PROTECTED]
Is the whole stacktrace the same? Are you sure the modified files are being rebuilt and redeployed correctly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046113#4046113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-16 Thread sandytech
Same error is been displayed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4046048#4046048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4046048 ___ jboss-user mailing list jb

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-15 Thread [EMAIL PROTECTED]
What happens when you use: | List existing = em.createQuery("select u.username from User u where u.username=:uname").setParameter("uname",user.username) | .getResultList(); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045849#4045849 Reply to the

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-15 Thread sandytech
User.java is a stateless bean and Register.java is an interface and RegisterAction.java is the implementation of the interface Register. User.java -- package com.vds.seamregistration.bean; import static org.jboss.seam.ScopeType.SESSION; import javax.persistence.Entity; import j

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-15 Thread [EMAIL PROTECTED]
Post the code of the register bean and the full stack as you did the first time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045784#4045784 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045784 __

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-15 Thread sandytech
Even i tried your code its the same error.I'm getting an error like javax.servlet.ServletException: Error calling action method of component with id register:register View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045780#4045780 Reply to the post : http://

[jboss-user] [JBoss Seam] - Re: Error calling action method of component

2007-05-15 Thread [EMAIL PROTECTED]
Obviously hibernate is trying to execute "select u.username from com.vds.seamregistration.bean.User u where u.username=#{user.username}". Most likely you are using something like: | em.createQuery("select u from User u where u.username=#{user.username}").getSingleResult(); | in the regist