CSPACE-6520: Move additional database utility code into JDBCTools from ServiceMain.