이 콘텐츠는 선택한 언어로 제공되지 않습니다.
4.2.2. Implement a No-argument Constructor
Cat has a no-argument constructor. All persistent classes must have a default constructor (which can be non-public) so that Hibernate can instantiate them using Constructor.newInstance(). It is recommended that you have a default constructor with at least package visibility for runtime proxy generation in Hibernate.