Question: the property hobby public String setHobby(String hobby) this.hobby hobby; public String getHobby0 return hobby Show how using hibernate you can add a not

the property " hobby " public String setHobby(String hobby) this.hobby hobby; public String getHobby0 return hobby Show how using hibernate you can add a not null validation
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
