1 Reply Latest reply on Oct 10, 2011 11:57 AM by Adam Warski

    Erreur when inserting action

    Stephane Fernandez Newbie

      Re,

       

      my envers configuration is good, i have a thousand of revisions but i don't know why, when i try to create an object, i have constantly this error :

       

      11-10-06 14:40:17 [main] ERROR ..... - org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into schema.Action (ACTN_cd_vecteur_modif, ACTN_dt_action, ACTN_nom_auteur, ACTN_profil_auteur, no_action) values (?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update

      org.apache.axis2.AxisFault: org.springframework.dao.DataIntegrityViolationException: Could not execute JDBC batch update; SQL [insert into schema.Action (ACTN_cd_vecteur_modif, ACTN_dt_action, ACTN_nom_auteur, ACTN_profil_auteur, no_action) values (?, ?, ?, ?, ?)]; constraint [null]; nested exception is org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update

       

      I don't know which value is null, if it's the no_action or the date, and i don't know how to do? Some one have an idea?

       

      Thanks for your Help !

       

      Stephane