Hammill will stay on loan at Middlesbrough until the end of the season.
“Adam is capable of bringing a different ingredient to the squad and giving us something we’ve missed for a bit,” said Boro boss Tony Mowbray.
“He also has a bit of individuality, he’s versatile enough to play in any midfield position and he creates extra competition within the squad.”