Skip to content

Instantly share code, notes, and snippets.

@olivermt
Created February 17, 2012 15:38
Show Gist options
  • Select an option

  • Save olivermt/1854070 to your computer and use it in GitHub Desktop.

Select an option

Save olivermt/1854070 to your computer and use it in GitHub Desktop.
2012-02-17 16:25:06,342 [ajp-bio-8009-exec-10] ERROR errors.GrailsExceptionResolver - MySQLIntegrityConstraintViolationException occurred when processing request: [POST] /standard/doEditEnum/1
Duplicate entry 'OutcropLithologyKind' for key 'name'. Stacktrace follows:
org.springframework.dao.DataIntegrityViolationException: could not update: [no.cipr.safari.standard.StandardEnum#1]; SQL [update standard_enum set version=?, description=?, name=?, standard_version_id=? where id=? and version=?]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: could not update: [no.cipr.safari.standard.StandardEnum#1]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment