i make test with one method to be simple. in real life we have two separated calls: 1. save Prima with optionalData = null 2. (in another transaction) save Prima with optionalData != null so i think i dont match "The redundant save anti-pattern" anyway, problem is that it was worked till 5.2.13.Final. and either Spring-Data or Hibernate (or both?) became broken. |