Delivery Encryption Module Development Journal
TL;DR AI
2 min readKey summary
Article published author Kang Junyoung published the article on 2025-06-02.
Project implemented a custom encryption module named cowcow-enc module was developed by the delivery platform development team.
Design decision selected JPA AttributeConverter for automatic entity encryption/decryption chose @Converter after evaluating PostLoad and Hibernate PreLoad approaches.
Approach option rejected JPA @PostLoad caused entity fields to be marked dirty and triggered updates on flush.
Rejected Hibernate PreLoad event worked on Hibernate 5/Spring Boot 2.x but failed on Hibernate 6.x due to a bug (HHH-16350) until 6.2.0.
