This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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: 588
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.
 
Have you checked out Aspose?
 
subject: org.hibernate.exception.GenericJDBCException: Field 'id' doesn't have a default value
 
It's not a secret anymore!