26
최대 절전 모드 : "필드 'id'에 기본값이 없습니다"
Hibernate의 단순한 문제라고 생각하는 문제에 직면하고 있지만 해결할 수 없습니다 (Hibernate 포럼에 도달 할 수없는 것은 확실히 도움이되지 않습니다). 유지하고 싶은 간단한 수업이 있지만 계속 받고 있습니다. SEVERE: Field 'id' doesn't have a default value Exception in thread "main" org.hibernate.exception.GenericJDBCException: could not insert: [hibtest.model.Mensagem] at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91) [ a …
130
java
hibernate
jpa
persistence