com.mycomm.dao.dao4comm.base.BaseDaoSupport Maven / Gradle / Ivy
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.mycomm.dao.dao4comm.base;
import com.mycomm.dao.dao4comm.orm.MySession;
import javax.annotation.Resource;
import org.springframework.jdbc.core.JdbcTemplate;
/**
*
* @author jw362j
* @param
*/
public abstract class BaseDaoSupport implements DAO {
@Resource
protected MySession myOrmSession;
protected JdbcTemplate getJdbcTemplate() {
return myOrmSession.getJdbcTemplate();
}
}