Hibernate I18n
Typed entity fields backed by relational translations, with one content locale per Session.
Installation
Add the 1.0.0 runtime from Maven Central. It brings the annotation module and Hibernate DDL Manager 1.2.0 transitively; provide a PostgreSQL DataSource and JDBC driver.
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.0.0 supports Hibernate 7.4.10.Final and PostgreSQL. Bootstrap with HibernateI18n.registryBuilder() and install every localized entity before opening Sessions. The reference documents the supported 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.