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
Hi, to all
i have this scenario
1)I have my entity with many collection (Lazy association)
2)This is my mdb
| public class LoginRequest implements MessageListener {
|
| public LoginRequest() {
| }
|
| public void onMessage(Message message) {
|
Hi to all, i'm new here and with ejb3.
I'm using jboss4.2 with ejb3, i wish to understand if it's possibile change
FetchType.LAZY (default) with FetchType.EAGER.
I have not use in my collection tag/annotation FetchType.LAZY then i wish to
understand if i can change this default FetchType.
Sorry fo