InterviewSolution
Saved Bookmarks
| 1. |
What is the default annotation for a property in hibernate? |
|
Answer» The DEFAULT annotation for a property in the Java FRAMEWORK is a @ld annotation, where Hibernate ASSUMES that the annotation is on the object’s access properties and detects that it is on the field. Placing the annotation @ld on getId() method GIVES access to the features through getter and SETTER methods and that too by default. |
|