public static AbstractDao getInstance(ClientType clientType) throws DaoInitException{
        String dbType = ConfigurationManager.getProperty("db.type").toUpperCase();
        switch (dbType) {
            case "MYSQL": return MysqlDaoFactory.getInstance(clientType);
            default: throw new DaoInitException(dbType);
        }
    }