client.getConnectionToPrepare for prepared queries