Do you need to generate the S_id key?
Why don't you use (w_uri,r_uri) as primary key?
Xavier.
Jamey Hicks a écrit:
***********************
Pas de virus detecté dans l'attachement no filename
Votre Mail a été vérifié par InterScan.
***********-***********
Xavier TRENTIN wrote:
-In the other hand, if the Usernames are something like "Xavier1"
and "Xavier2" and each of them are in the contacts list of the other,
then we found a problem while ser was trying to insert data in
presentity_contact table. The s_id generated is the same for each user.
I was using a hash to generate the s_id, but it looks like there are
collisions, so will have to switch to a new approach.
Jamey