Basic
byte[], Byte[], char[], Character[]
The use of the Basic annotation is optional for persistent fields and properties of these types.
Basicannotation is the simplest type of mapping to a database column. TheBasicannotation can be applied to a persistent property or instance variable of any of the following types: Java primitive types, wrappers of the primitive types, String , java.math.BigInteger , java.math.BigDecimal , java.util.Date , java.util.Calendar , java.sql.Date , java.sql.Time , java.sql.Timestamp ,byte[], Byte[], char[], Character[], enums, and any other type that implements Serializable .The use of the
Basicannotation is optional for persistent fields and properties of these types.