Code: Select all
HTTP ERROR 500
Problem accessing /account/addresses/. Reason:
integrity constraint violation: unique constraint or index violation; CSTMR_ADDR_UNIQUE_CNSTRNT table: BLC_CUSTOMER_ADDRESS; SQL [n/a]; constraint [CSTMR_ADDR_UNIQUE_CNSTRNT]; nested exception is org.hibernate.exception.ConstraintViolationException: integrity constraint violation: unique constraint or index violation; CSTMR_ADDR_UNIQUE_CNSTRNT table: BLC_CUSTOMER_ADDRESS
Can you please guide me how to add method checking DB for duplicate, or point exisiting one?