?? pubhibernate.java
字號(hào):
// // Copyright 2007
2008 2000 el . avel . avel .uznetsov.home page: http://www.shopcopy.cn//ad. tml html mlhlhtml st si rstst tst strstst tst sttst sttst st st stnsi st ansi ansi
// Source File Name: PubHibernate.java
package cn.shopcopy.pub.bo;
import cn.shopcopy.pub.util.Pager;
import java.io.Serializable;
import java.util.Iterator;
import java.util.List;
import net.sf.hibernate.*;
import net.sf.hibernate.cfg.Configuration;
public class PubHibernate
{
protected static SessionFactory sessionFactory;
protected Session session;
protected Transaction transaction;
protected String beanClass;
public PubHibernate()
throws HibernateException
{
}
protected void initHibernate()
throws HibernateException
{
}
protected void beginTransaction()
throws HibernateException
{
}
protected void beginTransaction(Session sess)
throws HibernateException
{
}
protected void openSession()
throws HibernateException
{
}
public Session createSession()
throws HibernateException
{
}
protected void endTransaction(boolean commit)
throws HibernateException
{
}
public void deleteById(Serializable id, Class poClass, Session sess)
throws Exception
{
}
public void deleteById(Object po, Session sess)
throws Exception
{
}
public void load(Object bean, Serializable id)
throws Exception
{
return;
}
public List list(String querySQL, Session sess)
throws Exception
{
}
public Iterator iterate(String querySQL, Session sess)
throws Exception
{
}
public Iterator iterate(String querySQL)
throws Exception
{
return list;
}
}
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -