bonjours
j'ai configuré ma base et j'ai determiné les fichiers de mapping
et est bien compilé mais a l'execution il m'affiche
Could not execute JDBC batch update
L'élément du batch 0 insert into Article (libl, libc, code) values (QSD, qsd, qsd) a été annulé. Appeler getNextException pour en connaître la cause.
11:31:16,343 WARN JDBCExceptionReporter:71 - SQL Error: 0, SQLState: 23505
11:31:16,343 ERROR JDBCExceptionReporter:72 - ERROR: duplicate key violates unique constraint "article_pkey"
11:31:16,359 ERROR AbstractFlushingEventListener:300 - Could not synchronize database state with session
org.hibernate.exception.ConstraintViolationException: Could not execute JDBC batch update
|