In the debugger I saw that the object receives ['product', 210]
Object obj = prodRepositorio.somaById();
I would like to get the data in it but not cast casten or anything.
I've tried
String produto = (String)obj[0];
Long valor = (Long)obj[1];
I have already changed to Object [] but it's value is in obj [0]