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.
This annotation may be applied to a field or property or to a package descriptor. When applied at the package level, it acts as a default for every character-typed attribute of every entity or embeddable belonging to the package. This annotation may also be used as a meta-annotation.
- See Also: