well , i suppose it mainly depends on the dispositions of the dog & cat..
my yorkie as well as my 2 other dogs are very good with my 2 cats..
however only 1 of the cats likes the dogs..

all in all they all get along very well..
sooner or later everyone learns his/her place in the pack..