You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When calling insert with a Collection causes the generation of e.g. INSERT INTO ... VALUES (null, a, b, c), the first column is an identity column, which results in a SQL error. If I loop through the collection and insert every value alone, it generates correctly INSERT INTO ... VALUES (a, b, c).
I think the issue comes from the referenced line, where after newRecord(dslContext, pojo)intoArray() is called. This intoArray call is for the single insert missing.
When calling insert with a
Collection
causes the generation of e.g.INSERT INTO ... VALUES (null, a, b, c)
, the first column is an identity column, which results in a SQL error. If I loop through the collection and insert every value alone, it generates correctlyINSERT INTO ... VALUES (a, b, c)
.I think the issue comes from the referenced line, where after
newRecord(dslContext, pojo)
intoArray()
is called. ThisintoArray
call is for the single insert missing.vertx-jooq/vertx-jooq-shared/src/main/java/io/github/jklingsporn/vertx/jooq/shared/internal/AbstractVertxDAO.java
Line 162 in 78a7213
The text was updated successfully, but these errors were encountered: