Page 1 of 1

Duplicate address names problem

Posted: Mon Sep 15, 2014 4:23 am
by NoMercyIncluded
Hello, I have found that adding more than one address with same name results in

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?