Trying to understand the Hibernate Reference Doc :
In the doc, Section 4.1.1 (Hibernate Reference Documentation Version: 3.1.3 link :
http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#persistent-classes-pojo ), there are these sentences/statements :
Quote:
There are four main rules to follow here...
4.1.1. Implement a no-argument constructor
Cat has a no-argument constructor. All persistent classes must have a default constructor (which may be nonpublic) so that Hibernate can instantiate them using Constructor.newInstance().
But I can't find the fore-mentioned constructor in the whole of the Cat.java class code.