class HostJdbcDao extends JdbcDaoSupport {

    public StartType getStartType(long hostId) {
        return StartType.valueOf(getJdbcTemplate().queryForObject(sqlGetStartType, String.class, hostId));
    }

}