Unique Constraint Validation Error Message

For changing Unique Constraint Validation Message I follow the below link

Unique Index Custom Exception Handler but it is not working.

I get error and I attached screenshot.unique

Hello @ranjisona

Сould you share the solution used?

Regards,
Daniil.

Sorry,

I find the solution. I done mistake in message.properties(giving wrong constraint name).

Great news!

Please share your solution to help other users faced with the sample problem.

Regards,
Daniil

1 Like

I mentioned constraint name as IDX_WORKLOG_I_P_ADDRESS_MASTER_UNQ instead of IDX_WORKLOG_IP_ADDRESS_MASTER_UK_IP_ADDRESS in message.properties of web module.

After Changing IDX_WORKLOG_IP_ADDRESS_MASTER_UK_IP_ADDRESS in message.properties of web module it works fine.

1 Like