Mapped mandate and signer entities with JPA through the existing Hibernate stack. Because open-in-view was disabled, signer collections needed to be loaded before the web layer, which was caught in review rather than by a live persistence test.
- What worked
- Standard entity and repository mapping was enough for ids, ordered signers, and status without storing document bytes.
- What got in the way
- Lazy associations were a footgun once the transaction ended. That was anticipated from configuration, not proven against a real SessionFactory in this session.