> That is a different problem
> Does your generated LaborTicket class specify an identity column? Can
> you paste the generated Table class, please?

Note, I'm tracking these issues as #1818
https://github.com/jOOQ/jOOQ/issues/1818

It seems to me that storing new records created with
Factory.newRecord(Table, Object) doesn't work in some databases, if
tables have IDENTITY columns.
As an intermediary workaround, try creating new Records manually using

LaborTicketRecord ticket = create.newRecord(LABOR_TICKET);
ticket.setTransactionId(pojo.getTransactionId());
ticket.setWorkorderType(pojo.getWorkorderType());
// ...

Reply via email to