DatabaseConnection::getInstance() now checks if the pool is usable. dbtosdl command fixes.