?? countrydaoimpl.java
字號:
package cn.com.tarena.ecport.dao.impl;
import java.util.List;
import cn.com.tarena.ecport.common.util.HibernateUtil;
import cn.com.tarena.ecport.dao.ICountryDAO;
import cn.com.tarena.ecport.exception.ECPortException;
import cn.com.tarena.ecport.pojo.Country;
public class CountryDAOImpl implements ICountryDAO {
public List<Country> findAllCountry() throws ECPortException {
// TODO Auto-generated method stub
return null;
}
public void delete(Country persistencePojo) {
// TODO Auto-generated method stub
}
public List<Country> findByExample(Country ExamplePojo) {
// TODO Auto-generated method stub
return null;
}
public Country findById(Long id) {
// TODO Auto-generated method stub
return null;
}
public List<Country> findByProperty(String propertyName, Object value) {
// TODO Auto-generated method stub
return null;
}
public void lock(Country pojo) {
// TODO Auto-generated method stub
}
public Country merge(Country detachedPojo) {
// TODO Auto-generated method stub
return null;
}
public void save(Country transientPojo) {
try {
HibernateUtil.getSessionFactory().getCurrentSession().save(transientPojo);
} catch (RuntimeException re) {
throw re;
}
}
public void saveOrUpdate(Country pojo) {
// TODO Auto-generated method stub
}
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -