A man has been jailed for more than two years after a court heard how his victim had to hide a hockey stick to stop him using it on her again.