https://kotlinlang.org logo
#exposed
Title
# exposed
d

Darren Gaughan

10/01/2018, 10:16 PM
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")?
t

tapac

10/02/2018, 8:30 PM
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
var
property and and set it up from result.
👍 1
2 Views