官术网_书友最值得收藏!

Chapter 2. Understanding the Fundamentals

In this chapter, we will cover the following recipes:

  • Building a SessionFactory
  • Creating a generic SessionFactory provider class
  • Opening a new session
  • Opening a stateless session
  • Saving an object to the database
  • Fetching an object from the database
  • Removing an object from the database
  • Updating an object
  • Creating a criteria
  • Restricting the results using a criteria
  • Pagination using a criteria
  • Sorting the results
  • Transforming a result
  • Using basic projection
主站蜘蛛池模板: 祁东县| 桓仁| 河北区| 琼海市| 龙陵县| 鞍山市| 贵阳市| 民权县| 葫芦岛市| 元谋县| 铜山县| 太白县| 东港市| 邵武市| 安塞县| 高青县| 沿河| 个旧市| 台前县| 股票| 固镇县| 饶平县| 木里| 阜城县| 合肥市| 英山县| 双桥区| 拉萨市| 罗平县| 和林格尔县| 班戈县| 博白县| 汉寿县| 蒙阴县| 泰来县| 东港市| 镇安县| 鹤壁市| 迁安市| 安龙县| 仙居县|