eruvanos / composit-id-jpa

How to map an internationalized text in db

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

composit-id-jpa

How to map an internationalized text in db

Tables:

  • create table NeedText (id bigint generated by default as identity (start with 1), TEXT_ID bigint, primary key (id))
  • create table TEXT (id bigint not null, LOCALE varchar(255) not null, text varchar(255), primary key (id, LOCALE))

About

How to map an internationalized text in db


Languages

Language:Java 100.0%