As a result, he was asked to leave the flat, at which point he retreated to his bedroom, grabbed a knife, returned and plunged the blade into the woman's left shoulder while she had her back turned.
"The stabbing was of sufficient force for the knife to be lodged in her shoulder area, causing a 10cm deep wound," Judge Davidson said.
"Examination of the wound revealed that the knife had come very close to a number of vital organs including a lung, spinal cord, and a very significant blood vessel."
The victim had to be hospitalised so the knife could be surgically removed.
She continued to suffer pain, restriction of movement, and emotional and psychological stress, the judge said.
"Alcohol clearly played a very significant role in the offending," he said.
"There seems on the face of it to be little other explanation for the offending, other than some tension that had arisen in the flat."
But a drug and alcohol assessor said Dean did not have an alcohol problem requiring rehabilitation.
Judge Davidson sentenced Dean to six months of home detention and ordered him to pay $3000 emotional reparation to the victim.
The victim sobbed in the back of the court as the sentence was made.
As Dean left the courtroom he looked at the victim and whispered "sorry".
Dean has also been given a strike warning under the Three Strikes legislation.