How to get wich item is conflicted with the uniqKe constrain?

Posts   
 
    
Gabor
User
Posts: 97
Joined: 29-Jan-2005
# Posted on: 23-Apr-2006 01:45:10   

In my application (adapter scenario), I try to save an entitity collection, in wich entities contain a field with uniqe key contrain defined in the database.

When I save the collection, and one of entities violates the UQ contrains, how can I establish, wich one has the conflicted value?

Thanks

Gabor

sparmar2000 avatar
Posts: 341
Joined: 30-Nov-2003
# Posted on: 23-Apr-2006 17:42:12   

Gabor The following thread might go some way to explaining trapping errors - http://www.llblgen.com/tinyforum/Messages.aspx?ThreadID=486&HighLight=1. Please feel free to come back if you donot find you are lookig for.