org.hsqldb.HsqlException: integrity constraint violation: NOT NULL check constraint; SYS_CT_10136 table: PRODUCT_TAX column: ORDER_ID
That’s because productItemTax
does not have the orderId
property set. You need to make sure you set it.
The problem is that the ProductItem.order
property has a null identifier. You didn’t set it properly from the incoming JSON.
Therefore, you need to make sure you can recreate the right associations from the JSON document.