Hibernate I18n
Typed entity fields backed by relational translations, with one content locale per Session.
Installation
Use Hibernate I18n 1.1.1 with a PostgreSQL DataSource and JDBC driver. Declare translations only with @Localized, @Translation and standard JPA annotations; no field lists, property readers or codecs need to be registered.
Ordinary types, localized storage
The entity keeps a String title. The runtime bootstrap generates the separate translation mapping.
Keep the domain types
Strings and converted values remain ordinary entity properties; their persistent values belong to locale rows.
One Session, one language
Loading and queries share a fixed content locale and resolve fallback separately for each translated field.
Edit exact overrides
A typed handle edits inactive locales while the managed entity retains its loaded language.
Version 1.1.1 supports Hibernate 7.4.10.Final and PostgreSQL. Bootstrap with HibernateI18n.registryBuilder(); openSession initializes all annotated entities automatically. The reference documents the mapping and lifecycle contract.
From the mapping to the editor
Start with the entity mapping and bootstrap, then follow the Session, editor and schema guides.