hi, there is an unique key in my table.when i entered the same record name it displays transaction failed and duplicate record, its fine but my requirement is at that time i want to display the corresponding entity name also in which the field is declared as unique key.
can any one help me how to get the corresponding entity name when duplicate record error message is came.
thanks in advance