数据库事务
wyc_ 2015-07-05 11:37:56 Hibernate官方文档中的一句:
Avoid auto-commit behavior for reading data, because many small transactions are unlikely to perform better than one clearly-defined unit of work, and are more difficult to maintain and extend.
任何数据库操作都是在事务中进行的?