Categories
Mastering Development

How can I implement I18n as a JSON object for a JPA or Hibernate entity?

I have a Spring-boot application that uses JPA and Hibernate. You can find the whole code on this GitHub repository. My question is how can I add internationalization functionality to a specific column without any foreign keys and by using JSON structure? For example I would like to define a JPA entity like this: @Entity […]