Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jooq records intoArray() return Object[1] #764

Open
trydofor opened this issue Jun 13, 2021 · 0 comments
Open

jooq records intoArray() return Object[1] #764

trydofor opened this issue Jun 13, 2021 · 0 comments

Comments

@trydofor
Copy link

trydofor commented Jun 13, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant