hibernateproductdao.java

来自「simple spider 源码 better light faster ja」· Java 代码 · 共 35 行

JAVA
35
字号
package org.springframework.samples.jpetstore.dao.hibernate;

import org.springframework.samples.jpetstore.dao.ProductDao;
import org.springframework.samples.jpetstore.domain.Product;
import org.springframework.dao.DataAccessException;

import net.sf.hibernate.cfg.*;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: Administrator
 * Date: Mar 26, 2004
 * Time: 4:03:50 PM
 * To change this template use Options | File Templates.
 */
public class HibernateProductDao implements ProductDao {



    public List getProductListByCategory(String categoryId) throws DataAccessException {
        return null;
    }

    public List searchProductList(String keywords) throws DataAccessException {
        return null;
    }

    public Product getProduct(String productId) throws DataAccessException {
        return null;
    }

}

⌨️ 快捷键说明

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