Package org.hibernate.annotations
Annotation Interface Nationalized
Specifies that the annotated character data should be stored with
nationalization support. The effect of this annotation depends on
the SQL dialect.
- Some databases support storing nationalized data using their
"normal" character data types (
CHAR, VARCHAR, CLOB
). For these dialects, this annotation is effectively ignored. - Other databases support storing nationalized data only via the
specialized, standard SQL variants (
NCHAR, NVARCHAR, NCLOB)
. For these dialects, this annotation will adjust the JDBC type code to use the specialized variant.