javax.persistence.PersistenceException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Autogenerated id in openxava for int
    via openxava by sunil101
    ,
  • could not get next sequence value
    via openxava by tokugawa69
    ,
  • Internacionalizar entidades
    via openxava by daviles
    ,
  • JPA/Hibernate: @GeneratedValue doesnt work
    via by Martin Dames,
    • javax.persistence.PersistenceException: org.hibernate.exception.ConstraintViolationException: could not insert: at org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:614) at org.hibernate.ejb.AbstractEntityManagerImpl.persist(AbstractEntityManagerImpl.java:226) at org.openxava.model.impl.JPAPersistenceProvider.persist(JPAPersistenceProvider.java:38) at org.openxava.model.impl.POJOPersistenceProviderBase.create(POJOPersistenceProviderBase.java:148) at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:707) at org.openxava.model.impl.MapFacadeBean.create(MapFacadeBean.java:43) at org.openxava.model.MapFacade.create(MapFacade.java:111) at org.openxava.actions.SaveAction.execute(SaveAction.java:27) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:374) at org.openxava.controller.ModuleManager.executeAction(ModuleManager.java:291) at org.openxava.controller.ModuleManager.execute(ModuleManager.java:251)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    linxiaolonglinxiaolong
    1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    3 more bugmates