Spring data internationalization best practice
问题 I have a spring mvc project with spring data, jpa and hibernate. I have a multilanguage database. I designed my database and entity. I am looking for a best practice to query my tables by language. Do I have to write custom jpa query, or is there a generic way to query my tables. If I have a mistake on db or entity design, please warn me. Database: CREATE TABLE translation ( id BIGINT UNSIGNED NOT NULL AUTO_INCREMENT, PRIMARY KEY (id)); CREATE TABLE translation_text ( translation_id BIGINT