With hibernate I can do a query by idt as follows:
entityManager.find(Empresa.class, idtEmpresa);
And this would already return the mapped object of the enterprise class, but what if I wanted to query more than one idt, what would it look like?
For example, if I pass a String:
String idtEmpresa = "1,2,3";
The question is, how do I query multiple idts?