I'm getting an 'IllegalStateException - "countOfOtherEntity" is not in record set' error. Is my understanding of this correct? Should I be able to access this value through val countOfOtherEntity = integer("countOfOtherEntity")?
3 years ago
No, you map entity fields to a column, not a column name.
You can only workaround this by replacing value related to column with one from resultset. But it's easier to define simple