Package org.hibernate.annotations
Annotation Type Nationalized
-
@Target({METHOD,FIELD}) @Retention(RUNTIME) public @interface Nationalized
Specifies that the annotated character data should be stored with nationalization support. The effect of this annotation depends onthe 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. SeeNationalizationSupport.IMPLICIT. - 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. SeeNationalizationSupport.EXPLICIT.
- Some databases support storing nationalized data using their
"normal" character data types (