You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
567 B
28 lines
567 B
package core.dao;
|
|
|
|
import db.model.AbstractModel;
|
|
import org.hibernate.SessionFactory;
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
import org.springframework.dao.DataAccessException;
|
|
import org.springframework.orm.hibernate5.HibernateTemplate;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.List;
|
|
|
|
/**
|
|
* Created by reborn on 2017/7/31.
|
|
*/
|
|
|
|
@Repository
|
|
public class BaseDao1 extends HibernateTemplate{
|
|
|
|
@Autowired
|
|
public BaseDao1(SessionFactory aliyun) {
|
|
super(aliyun);
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|