Files
java-interview-lab/hibernate-jpa/output/q09-no-arg-constructor.txt
T

5 lines
321 B
Plaintext

SessionFactory started with an entity that has no no-arg constructor: true
persist(): ok
find() -> org.hibernate.InstantiationException: No default constructor for entity 'lab.hibernate.model.BadEntity'
root cause -> org.hibernate.InstantiationException: No default constructor for entity 'lab.hibernate.model.BadEntity'