SimpleFlatMapper icon indicating copy to clipboard operation
SimpleFlatMapper copied to clipboard

jooq records intoArray() return Object[1]

Open trydofor opened this issue 4 years ago • 0 comments

val record = dsl.newRecord(table, pojo);
// record is id=123 and other 8 fileds
val fields = table.fields();
val values = record.intoArray()
// but values is Object[1]{123} // only the id
// should get Object[9]{123,......}
assertEquals(fields.length, values.length); // failed

sfm-joo1 8.2.3 jooq 3.14.4 java 8

trydofor avatar Jun 13 '21 11:06 trydofor