0 votes
in Hibernate by

Can we declare the Entity class final? 

1 Answer

0 votes
by
No, the Entity class cannot be declared final, as Hibernate uses runtime proxies to enhance the class for persistence. Therefore, a final class cannot be subclassed and thus cannot be proxied.
...