When one looks at whether a bacterial strain could go form saltwater to freshwater, one could be looking at the plasmids that bacteria use to convey resistances far antibiotics and other such things. This is even to say that a plasmids DNA/RNA could give resistant to the switch from salt to fresh; on top of whether they could survive without any food for that long, just speculation and food for thought.