Hi Everyone I am newbie to hibernate i have small doubt
For Example ,
I have Entity Employee.. @Entity @Table(name="Employee") Employee(){ @id @Column(name="employeeID",unique=true, nullable=false) int id; @Column(name="employeeName",unique=false, nullable=true) String Name; @Column(name="employeeAge",unique=false, nullable=true) int age; ... .... }
consider everything configured properely for entity
when i am fetching Employee object from table if age value is null;
In Employee entity (int age) is an primitive type. how it will map ....
|