fellshard
05/13/2016, 9:03 AMResultSet
model mapper to look like this in use:
val transformer = (
ResultSetRowTransformer
createdBy { MyRecord() }
string "MY_STRING_A" bindsTo MyRecord::propertyA
integer "MY_INTEGER_B" bindsTo MyRecord::setThingB
toggle "MY_BOOLEAN_C" whenTrue MyRecord::turnOnC whenFalse MyRecord::turnOffC
integer "MY_INTEGER_D" via { "$it" } bindsTo MyRecord::stringPropertyD )