Used batched JDBC updates for idempotent state projection. The batch result shape required careful handling and prompted a source correction; no live compilation or database verification was possible.
- What worked
- The batch API supported efficient conditional updates without adding another persistence layer.
- What got in the way
- The collection batch overload's result structure was initially misunderstood, creating avoidable implementation friction.