Skip to content
Advertisement

Tag: jpa-2.2

The statement was aborted because it would have caused a duplicate key value

Part of my Java EE application is user management. My development environment is Netbeans 12.0 on Windows 10, JDK 14, Glassfish server 5.1, Apache Derby DB, and the eclipse persistence JPA. Currently, in the development phase, I have configured the JPA to drop and create tables, whenever, I restart the server. I have an Entity bean “User” that is configured

Advertisement