dslContext
.insertInto(tenant_capacity,
tenant_capacity.tenant_id,
tenant_capacity.serialized_tenant_pending_capacity)
.values(tenantId,
GrpcTenantModelConverters.toGrpcCapacity(capacity).toByteArray())
.onDuplicateKeyUpdate()
.set(tenant_capacity.serialized_tenant_pending_capacity, GrpcTenantModelConverters.toGrpcCapacity(capacity).toByteArray())
.execute();
if ((onConflict != null && onConflict.size() > 0) || onConstraint != null || !table().getKeys().isEmpty())
--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/ae4434a9-e472-454a-948d-a32706638ae2%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/a44bbf62-ee3b-4445-94ea-43d32bcab38c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAFx%3DKge_HAOn2YH6JYzTxfrF-LX_c-6yRZ9qesyrDoRyywAHvg%40mail.gmail.com.
Hi Andrew,In case you're using the XMLDatabase, this is the XSD that you're using:In order to tell jOOQ about your primary keys, you'll need to provide the TableConstraint and KeyColumnUsage types. You can generate an example file from an actual database connection using the XMLGenerator.I hope this helps,Lukas
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/a44bbf62-ee3b-4445-94ea-43d32bcab38c%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "jOOQ User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/CAFx%3DKge_HAOn2YH6JYzTxfrF-LX_c-6yRZ9qesyrDoRyywAHvg%40mail.gmail.com.
To unsubscribe from this group and stop receiving emails from it, send an email to jooq-user+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/6af0bb1d-ec26-4c31-b606-d33f0a773381%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jooq-user/6af0bb1d-ec26-4c31-b606-d33f0a773381%40googlegroups.com.