Comment the method of class ConnectionFactory