Data types in Hibernate


Hibernate maps Java data types into databases. Java type can be mapped into one or more column in database. We can set Object's record as primitive types like int , byte or more complex for example java.util.Currency.

Mapping types in Hibernate.



1.Primitive types.

2.Date and time types.

3.Binary and large object types.

4.Other JDK-related types.