0 votes
in Hibernate by
What happens when the no-args constructor is absent in the Entity bean?

1 Answer

0 votes
by

If the no-args constructor is absent in the Entity bean, Hibernate cannot instantiate the object and throw an exception. Therefore, it is always recommended to have a no-args constructor in the Entity bean for Hibernate to work properly.

...