Hamilton man jailed for attempting to pour hot water on partner