0 votes
in JAVA by
Why we should not Make an Entity Class final?

1 Answer

0 votes
by

Hibernate uses proxy classes for lazy loading of data, only when it’s needed. This is done by extending the entity bean, if the entity bean will be final then lazy loading will not be possible, hence low performance.

...