google-nomulus/core
Michael Muller 1af163d9ba Fix update timestamps for DomainContent types (#1517)
* Fix update timestamps for DomainContent types

We expect update timestamps to be updated whenever a containing entity is
modified and persisted, but unfortunately Hibernate doesn't seem to do this --
instead it appears to regard such an entity as unchanged.

To work around this, we explicitly reset the update timestamp whenever a
nested collection is modified in the Builder.

Note that this change only solves the problem for DomainContent.  All other
entitities containing UpdateAutoTimestamp will need to be audited and
instrumented with a similar change.

* Fix a handful of tests broken by this change

* Reformatted.
2022-02-14 11:31:03 -05:00
..
gradle/dependency-locks Upgrade to Beam 2.34.0 (#1472) 2021-12-19 22:48:15 -05:00
src Fix update timestamps for DomainContent types (#1517) 2022-02-14 11:31:03 -05:00
build.gradle Fix protobuf-java-util dependency (#1518) 2022-02-09 14:11:09 -05:00
Dockerfile Build docker image of nomulus tool (#142) 2019-07-16 20:18:44 -04:00