Action中的addAcl方法
    Departments departments = departmentsManager.findEntityById(departmentsBean.getId());
    departments.getAclGroup().add(new AclGroup(departmentsBean.getAgid()));
    departmentsManager.update(departments);业务层的find方法
          public T findEntityById(Serializable... id) {
return (T) this.getHibernateTemplate().get(realEntity, id);
          }
业务层的update方法
public void update(T entity) {
this.getHibernateTemplate().update(entity);
}在我开启了openSessionInviewFilter的情况下出现了2个session,和开启了事务的情况下
对此不是很理解,按openSessionInviewFilter的说明来看,是session已经被绑定到当前线程
为什么在update的时候会出现two session呢?虽然可以用merge来合并解决这个问题,但是
出现two session的根本原因是什么?没有了解这个问题的朋友?