pubhibernate.java

来自「电子商务小站点,用到struts+hibernate」· Java 代码 · 共 106 行

JAVA
106
字号
// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   PubHibernate.java

package com.keyshop.pub.bo;

import com.keyshop.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;
    }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?