But if they are raised with them won't they be ok?

Well, not always. That helps, definitely.

I think someone on PT recently lost their cat, Loki? To a dog they'd lived together for 3 years. It was quite tragic. If the prey drive is there, then you need to always be on your guard.