class AutonomiccsSystemVmJdbcDao extends JdbcDaoSupport {

    public Long getStartHostServiceVmIdFromPod(Long podId, SystemVmType systemVmType) {
        try {
            return getJdbcTemplate().queryForObject(sqlGetStartHostServiceVmIdFromPod, Long.class, podId, systemVmType.getNamePrefix() + "%");
        } catch (EmptyResultDataAccessException e) {
            logger.debug(e);
            return null;
        }
    }

}