Background:
Let's solve your root problem.
Don't use a hashcode. Just add a integer primary key for each String