You need to correctly implement equals() for the data type that you store as JSON to avoid Hibernate ORM treating the value as dirty, or better yet, make the data type an @Embeddable. Also see the documentation about aggregate embeddables.
You need to correctly implement equals() for the data type that you store as JSON to avoid Hibernate ORM treating the value as dirty, or better yet, make the data type an @Embeddable. Also see the documentation about aggregate embeddables.