Ignore SQLException in some cases.

The parameter meta data can't always be accessed, so we don't want to rely on it existing. If it's there, we'll use it, if not, oh well, the database will still cause an error if null isn't acceptable, we just can't check for it specifically. Fixes 2945.