commit | 996d0c2b23a70e62853632f0b644b3fe4d212143 | [log] [tgz] |
---|---|---|
author | danielhanrahan <daniel.hanrahan@est.tech> | Thu Aug 17 15:43:34 2023 +0100 |
committer | Daniel Hanrahan <daniel.hanrahan@est.tech> | Thu Aug 17 15:17:15 2023 +0000 |
tree | b9f1dfb76dcae12074cf5fd42a553189af6f651b | |
parent | a52b1825f99318181cd356dcde1b1db46c1098ac [diff] |
Update of top-level data node fails with SQL error The error is caused by the fetch-descendants code using ResultSet.getLong which returns a 'long' primitive instead of a 'Long' object. Thus a parent ID of 'NULL' becomes '0', which causes an error during update. To preserve the NULL value, ResultSet.getObject must be used. Issue-ID: CPS-1841 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: Ida6837a04954cd3c23f0f2faabd7d0712d8ee19d