The old way that shocks most people I tell, is to tie a dead chicken to the dog. The chicken rots and becomes so disgusting to the dog, the very smell of a live chicken disgusts the dog. This is the method my FIL swears to.
I think you could probably achieve results with a shock collar, but really just keeping seperate might be your best option.
The problem I see with this is, my dog loves stinky things; the stinkier the better. I just don't see the smell of rotting flesh to be a turn-off. In fact, I'd have to chase my dog off from trying to eat the stinky, rotten carcass.