Lightning icon indicating copy to clipboard operation
Lightning copied to clipboard

Add annotations for Pre-&Post-Hooks when (de-)serialize an VO

Open noctarius opened this issue 12 years ago • 0 comments

When serializing or deserializing an valueobject it should be possible to add pre- and posthooks in form of annotated methods to handle additional behavior. Annotations could be in form of @PrePersist annotions of JPA.

@PreSerialize @PostSerialize @PreDeserialize @PostDeserialize

noctarius avatar Jun 30 '12 13:06 noctarius