jQuery in Action, 2nd edition*
The moose likes Object Relational Mapping and the fly likes org.hibernate.exception.GenericJDBCException: Field 'id' doesn't have a default value Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » Object Relational Mapping
Bookmark "org.hibernate.exception.GenericJDBCException: Field Watch "org.hibernate.exception.GenericJDBCException: Field New topic
Author

org.hibernate.exception.GenericJDBCException: Field 'id' doesn't have a default value

Tony Evans
Ranch Hand

Joined: Jun 29, 2002
Posts: 573
Hi,

I am getting the following error org.hibernate.exception.GenericJDBCException: Field 'id' doesn't have a default value

I am using a MySQL database, and using org.springframework.data.jpa.domain.AbstractPersistable


AbstractPersistable


creates the Id value.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: org.hibernate.exception.GenericJDBCException: Field 'id' doesn't have a default value
 
Similar Threads
hibernate to JPA: generator class=increment
Problem in <one-to-one> relation mapping
Problem using Hibernate Native Statement
Hibernate 3.0 : Where am I going wrong?
Problem in <many-to-one> relationship