I was curious if anyone had any hard numbers around the performance difference between annotating Entities using private fields instead of public getter methods. I\'ve hear
Generally use annotation in above of getter methods, Because when class is loaded in JVM ath that hibernate model or entity class is also loaded then if you use annotation above of field or peroperty then it will execute only once at time of each request. whereas if you placing above getter then in reflaction or any other layer when it will caled this class then getter method called then this become very useful