摘要:
16:09:57,453 ERROR LazyInitializationException:19 - could not initialize proxy - the owning Session was closedorg.hibernate.LazyInitializationExceptio... 阅读全文
摘要:
package com.zw.tool;import java.util.List;/*** 分页组件* @author Administrator**/public class PageModel {//总记录数private int totalRecords;//结果集private List ... 阅读全文
摘要:
public final class HibernateTool {private static SessionFactory sf;static{// 读取hibernate.cfg.xml配置文件Configuration cfg = new Configuration().configure(... 阅读全文