phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From divye sheth <divs.sh...@gmail.com>
Subject MD5 hash function in Phoenix
Date Thu, 02 Jul 2015 10:24:00 GMT
Hi Team,

I have a table which is has four columns all strings, and there is a
primary key which is MD5(four columns).

Now theoretically, if the values of all the four columns are same the MD5
hash should be the same. But thats not in my case. I have indeed verified
that there is no difference in the data.

But somehow phoenix inserts a new row all together rather than updating the
same, since the MD5 should be the same.

Is my understanding correct? I am accessing phoenix using jdbc.

Thanks
Divye Sheth

Mime
View raw message