on 2005 Aug 08 9:11 AM
How can i make a search for records having same part No.
How do i avoid inserting duplicates.Display exact error.
I am using mdme Java Api.I hope u will help me quikly.
Thanx & Regards
Narayan
Using the MDM Console, you can specify which field (or combination of fields) comprise a unique key for that table.
If you then try to add a record via the API which fails the uniqueness constraint, the API will throw an exception which you can catch in try/catch block.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
> How can i make a search for records having same part
> No.
Only in a loop one by one. If it's not unique such records can exist there. Actually you should have checked it when were inserting/creating them.
> How do i avoid inserting duplicates.Display exact
> error.
Check before inserting whether such a record exists or not.
> I am using mdme Java Api.I hope u will help me
> quikly.
> Thanx & Regards
> Narayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
66 | |
11 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.