在Spring整合 Hibernate中,对dao层访问中提供了两个操作。(1)protected final Session getSession()throws DataAccessResourceFailureException,IllegalStateException;spring api的解释: Obtain a Hibernate Session, either from the current transaction or a new one. The latter is only allowed if the "allowCreate" setting o Read More