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.

BY Best Interview Question ON 05 Apr 2019