class HostJdbcDao extends JdbcDaoSupport {

    public void setAdministrationStatus(HostAdministrationStatus hostAdministrationStatus, long hostId) {
        Object[] args = {ObjectUtils.toString(hostAdministrationStatus), hostId};
        getJdbcTemplate().update(sqlSetAdministrationStatus, args);
    }

}