1
with Hibernate I can make an inquiry by idt as follows:
entityManager.find(Empresa.class, idtEmpresa);
And that would already return the mapped object of the company class, but what if I wanted to consult more than one idt, how would it look ?
for example, if I pass a String:
String idtEmpresa = "1,2,3";
The question is, How do I query with multiple Idts ?