I've shot .358" cast out of all my 9s without any problem. In fact, anything below .357" and many of my guns will lead up. This doesn't mean the guns that others own will not have much smaller diameter chambers or undersized bores. You have to check. Generally when it comes to cast lead, if you can easily insert a round all the way into the chamber of your barrel (removed from gun) and easily extract it by just tipping the barrel up, you're good to go. You've just performed a chamber expansion room check test and a OAL test at the same time.
With jacketed, I would not shoot anything over bore size as recommended by the bullets manufacturer and commercially available load data. In other words, 9mm bullets for 9mm guns.