class DatabaseService {

    public boolean updateDBInfo(DataBaseInfo dataBaseInfo) throws SQLException {
        dataBaseInfo.setDb_password(DasEnv.encdecConfiguration.encrypt(dataBaseInfo.getDb_password()));
        return dataBaseDao.updateDataBaseInfo(dataBaseInfo) > 0;
    }

}