javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not insert:

openxava | sunil101 | 6 years ago
  1. 0

    Autogenerated id in openxava for int

    openxava | 6 years ago | sunil101
    javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not insert:
  2. 0

    Problema con campo identity en postgresql

    openxava | 8 years ago | anitag
    javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value
  3. 0

    could not get next sequence value

    openxava | 8 years ago | tokugawa69
    javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarException: could not get next sequence value
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Internacionalizar entidades

    openxava | 8 years ago | daviles
    javax.persistence.PersistenceException: org.hibernate.exception.SQLGrammarExcept ion: could not get next sequence value
  6. 0

    null value in column "id" vi...

    openxava | 5 years ago | archimagealex
    javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not insert:

  1. linxiaolong 1 times, last 4 months ago
1 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. javax.persistence.PersistenceException

    org.hibernate.exception.ConstraintViolationException: could not insert:

    at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException()
  2. Hibernate EJB
    AbstractEntityManagerImpl.persist
    1. org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614)
    2. org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:226)
    2 frames
  3. org.openxava.model
    MapFacade.create
    1. org.openxava.model.impl.JPAPersistenceProvider.persist(JPAPersistenceProvider.java:38)
    2. org.openxava.model.impl.POJOPersistenceProviderBase.create(POJOPersistenceProviderBase.java:148)
    3. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:707)
    4. org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:43)
    5. org.openxava.model.MapFacade.create(MapFacade.java:111)
    5 frames
  4. org.openxava.actions
    SaveAction.execute
    1. org.openxava.actions.SaveAction.execute(SaveAction.java:27)
    1 frame
  5. org.openxava.controller
    ModuleManager.execute
    1. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:374)
    2. org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:291)
    3. org.openxava.controller.ModuleManager.execute(ModuleManager.java:251)
    3 frames