public class RayiDaoImpl<PojoType> extends HibernateDaoSupport implements
RayiDao<PojoType> {
private String pojoName;   //pojoName怎么处理啊??  
public void save(PojoType pojo) {
getHibernateTemplate().save(pojo);
} public void saveAll(Collection<PojoType> pojos) {
for (Object pojo : pojos)
getHibernateTemplate().save(pojo);
} public void saveObject(Object pojo) {
getHibernateTemplate().save(pojo);
} public void saveOrUpdate(PojoType pojo) {
try {
getHibernateTemplate().saveOrUpdate(pojo);
} catch (DataAccessException e) {
throw new EntityDaoNotFindIdException(
"pojo exits a id is not find in dataBase.");
}
}