Open sunmingtao opened 3 years ago
The column in the table is nullable.
The code below fails to persist the update.
TroveApi api = TroveApi.findByUserId(userId) api.setQuota(apiQuota) api.setDeactivatedReason(null) api.setDateDeactivated(null) api.save(flush: true)
It works when I replace null with empty string.
api.setDeactivatedReason("") api.setDateDeactivated("")
The column in the table is nullable.
The code below fails to persist the update.