In my personal opinion, this would also be the best way to validate said
string in Hibernate, instead of using a string type (raw data) to model
HTML. Using semantic types, you can *always* guarantee that your HTML
content implements the semantics of that type, and you do not rely on some
external mechanism to attach to some lifecycle that is not really related
to the type itself.
I hope this helps,
On Wed, Sep 11, 2019 at 1:31 PM Charith Chowdary K P <[hidden email]>
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page.
To unsubscribe from this group and stop receiving emails from it send an email to [hidden email].