class ToolGroupDao extends NamedParameterJdbcDaoSupport {

    @Transactional(propagation = Propagation.MANDATORY)
    public void createToolGroup(ToolGroup group) {
        group.setId(daoHelper.createId(toolGroupSequenceName));
        getNamedParameterJdbcTemplate().update(createToolGroupQuery, ToolGroupParameters.getParameters(group));
    }

}