0
Guys, I’m having a problem at the bank looking for a list of phones, these phones have to belong to a number.
in my query I do this
public List<Telefone> buscar(Proprietario proprietario) {
return this.manager.createQuery("select e from Telefone e where
e.cpfProprietario = :cpfProprietario").setParameter("cpfProprietario", proprietario.getCpfProprietario()).getResultList();
}
Where am I going wrong?
The Telephone entity has a relationship with owner.
If you need more information, feel free to contact us at github
truth, I ended up hooking up with this hehe
– Danilo