How do I fix a null error with JPA repository?
I’m facing a null error when I attempt to retrieve data from the repository. How do I update this test to resolve the null error?
ORA-00001: unique constraint (PCSPROD.PK_PHONE_NUMBER_HISTORY) violated when timestamp is a unique key
org.hibernate.exception.ConstraintViolationException: could not execute statement | SQLIntegrityConstraintViolationException : ORA-00001: unique constraint (TABLE_NAME) violated when timestamp is a unique key. How to handle this in Spring Boot?
We have 2 fields as combination for Unique key. one is the User name and the other is time stamp. When we get 2 requests at a time for the same user name, it is failing with the violation error and filling up the logs