File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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


Win a copy of Soft Skills this week in the Jobs Discussion forum!
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: 582
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