Posts by João Cairo • 1 point
1 post
-
0
votes1
answer104
viewsQ: (JAVA) How to treat Exception with spring?
In my model I declared this code to be unique. @Column(unique=true, name = "codigo") private long codigo; At the time it is displayed in the api and I inform equal codes for two employees appears to…