[jboss-user] [EJB 3.0] - Re: Why was this

armen2010 do-not-reply at jboss.com
Wed Jun 18 05:46:06 EDT 2008


I have the same problem, 

this is my method

public WnUser findUser(WnUser email) {
        return (WnUser) em.createQuery
     ("SELECT  u.email FROM WnUser u WHERE u.email =:email")
                .setParameter("email", email.getEmail())
                .getSingleResult();

    }

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158922#4158922

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158922



More information about the jboss-user mailing list