0

I recovered a project that I migrate from MYSQL to POSTGRES and under JBOSS EAP6 6.4.22.

When in my form I try to insert a new record, I have no error message and the insert is not performed in POSTGRES, but the sequence which serves as primary key is well incremented!

I am using org.eclipse.persistence.jpa.PersistenceProvider and POSTGRES12.

Where is my mistake?

xlecoustillier
  • 16,183
  • 14
  • 60
  • 85
pcouas
  • 31
  • 1
  • 5

1 Answers1

0

Ok it seems i have resolved problem

A rename constraint Postgres ALTER INDEX authors_pkey RENAME TO authors_pkeyb It seems default constrainte name make problem

B IN persistence.xml file

C Compilation skip test >mvn clean install -DskipTests, otherwise i could not compil

Regards

pcouas
  • 31
  • 1
  • 5