摘要:
package com.test; import com.domain.Customer; import com.utils.HibernateUtils; import org.hibernate.SQLQuery; import org.hibernate.Session; import org.hibernate.Transaction; import org.hibernate.que... 阅读全文
摘要:
基本查询 条件查询 分页查询 使用聚合函数: 阅读全文
摘要:
创建HibernateUtils类,便于直接获取session 基本查询 条件查询之使用'?'占位符 条件查询之使用':name'占位符 分页查询: 阅读全文