Skip to main content
3 of 3
deleted 168 characters in body
gaborsch
  • 15.8k
  • 6
  • 40
  • 50

UPDATE:

You have a resultset with 2 columns.

Object[] result= query.list().get(0); BigDecimal number1 = (BigDecimal) result[0]; BigDecimal number2 = (BigDecimal) result[1]; 
gaborsch
  • 15.8k
  • 6
  • 40
  • 50