在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
posted @ 2012-04-26 17:42 七郎 Views(7989) Comments(0) Diggs(2) Edit