[jboss-user] [EJB 3.0] - Re: jms lazy mdb Design pattern
bdevis
do-not-reply at jboss.com
Tue May 15 02:37:40 EDT 2007
i have made mistake in my post code
public Clienti findByName(String nome) {
Clienti id=(Clienti) em.createNamedQuery("Clienti.findByNome").setParameter("nome",nome).getSingleResult();
return em.getReference(Clienti.class, id.getIdcliente());
}
public Clienti findByName(String nome) {
return em.createNamedQuery("Clienti.findByNome").setParameter("nome",nome).getSingleResult();
}
pls have you some suggestion
Devis
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4045667#4045667
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4045667
More information about the jboss-user
mailing list