I, too, can vouch for the hot wire solution; we have the electrified poultry netting. The key is getting the maximum charger that your wire/net will allow. We have a cattle charger on our netting and NOTHING touches that fence twice. My dogs will not even look at the chicken pen and to my knowledge, only 3 out of 8 (all rat terriers, not known for being the most trainable critters) actually touched it, the others just watched the other 3 get nailed. If you live in town and you do put a powerful charger on the fence, make sure you mark it as electrified on all sides.
As for the possibility of training dogs, all of our dogs live in the house and happily coexist with my son's guinea pigs, never unsupervised but they do get the idea of what belongs to family and what doesn't. Our ducks also wander the property during the day and since they were in the brooder in the house as ducklings, even our most aggressive, relentless rat killer is downright maternal toward the ducks. The dogs do not run loose unsupervised, though.
As for the possibility of training dogs, all of our dogs live in the house and happily coexist with my son's guinea pigs, never unsupervised but they do get the idea of what belongs to family and what doesn't. Our ducks also wander the property during the day and since they were in the brooder in the house as ducklings, even our most aggressive, relentless rat killer is downright maternal toward the ducks. The dogs do not run loose unsupervised, though.