91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

實現了對信息數據的瀏覽、查詢、編輯和刪除等基本數據庫操作,采用了模塊化設計方法,實現了前臺功能模塊和后臺功能模塊,前臺功能模塊包括名店介紹、特色美食、名店加盟、美食教程、美食社區等;后臺功能模塊包括管理員信息管理管理用戶信息、管理名店信息、管理美食信息、管理教程信息、管理社區信息等功能。 網站首頁:靈活推薦餐館、美食和各種文章、圖片內容等;名店介紹:可按菜系分類、餐館環境等;(包括數據庫+論文+源碼+后臺程序) 資源具有 源碼+論文+答辯PPT+運行視頻 四部分組成。

資源截圖

代碼片段和文件信息

package?com.dao;

import?java.util.List;
import?org.apache.commons.logging.Log;
import?org.apache.commons.logging.LogFactory;
import?org.hibernate.LockMode;
import?org.springframework.context.ApplicationContext;
import?org.springframework.orm.hibernate3.support.HibernateDaoSupport;

import?com.model.TAdmin;

/**
?*?Data?access?object?(DAO)?for?domain?model?class?TAdmin.
?*?
?*?@see?com.model.TAdmin
?*?@author?MyEclipse?Persistence?Tools
?*/

public?class?TAdminDAO?extends?HibernateDaoSupport?{
private?static?final?Log?log?=?LogFactory.getLog(TAdminDAO.class);

//?property?constants
public?static?final?String?USER_NAME?=?“userName“;

public?static?final?String?USER_PW?=?“userPw“;

protected?void?initDao()?{
//?do?nothing
}

public?void?save(TAdmin?transientInstance)?{
log.debug(“saving?TAdmin?instance“);
try?{
getHibernateTemplate().save(transientInstance);
log.debug(“save?successful“);
}?catch?(RuntimeException?re)?{
log.error(“save?failed“?re);
throw?re;
}
}

public?void?delete(TAdmin?persistentInstance)?{
log.debug(“deleting?TAdmin?instance“);
try?{
getHibernateTemplate().delete(persistentInstance);
log.debug(“delete?successful“);
}?catch?(RuntimeException?re)?{
log.error(“delete?failed“?re);
throw?re;
}
}

public?TAdmin?findById(java.lang.Integer?id)?{
log.debug(“getting?TAdmin?instance?with?id:?“?+?id);
try?{
TAdmin?instance?=?(TAdmin)?getHibernateTemplate().get(
“com.model.TAdmin“?id);
return?instance;
}?catch?(RuntimeException?re)?{
log.error(“get?failed“?re);
throw?re;
}
}

public?List?findByExample(TAdmin?instance)?{
log.debug(“finding?TAdmin?instance?by?example“);
try?{
List?results?=?getHibernateTemplate().findByExample(instance);
log.debug(“find?by?example?successful?result?size:?“
+?results.size());
return?results;
}?catch?(RuntimeException?re)?{
log.error(“find?by?example?failed“?re);
throw?re;
}
}

public?List?findByProperty(String?propertyName?object?value)?{
log.debug(“finding?TAdmin?instance?with?property:?“?+?propertyName
+?“?value:?“?+?value);
try?{
String?queryString?=?“from?TAdmin?as?model?where?model.“
+?propertyName?+?“=??“;
return?getHibernateTemplate().find(queryString?value);
}?catch?(RuntimeException?re)?{
log.error(“find?by?property?name?failed“?re);
throw?re;
}
}

public?List?findByUserName(object?userName)?{
return?findByProperty(USER_NAME?userName);
}

public?List?findByUserPw(object?userPw)?{
return?findByProperty(USER_PW?userPw);
}

public?List?findAll()?{
log.debug(“finding?all?TAdmin?instances“);
try?{
String?queryString?=?“from?TAdmin“;
return?getHibernateTemplate().find(queryString);
}?catch?(RuntimeException?re)?{
log.error(“find?all?failed“?re);
throw?re;
}
}

public?TAdmin?merge(TAdmin?detachedInstance)?{
log.debug(“

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????17649??2012-07-21?10:03??meishi\WebRoot\fckeditor\editor\fckeditor.original.html
?????文件????????3526??2012-04-01?23:31??meishi\src\struts.properties
?????目錄???????????0??2020-03-11?13:29??meishi\
?????文件????????5256??2012-11-30?20:32??meishi\.classpath
?????目錄???????????0??2020-03-11?13:30??meishi\.myeclipse\
?????文件?????????529??2012-04-01?23:31??meishi\.myhibernatedata
?????文件?????????291??2012-11-30?20:32??meishi\.mymetadata
?????文件????????1634??2012-04-01?23:31??meishi\.project
?????目錄???????????0??2020-03-11?13:29??meishi\.settings\
?????文件?????????330??2012-04-01?23:31??meishi\.settings\org.eclipse.jdt.core.prefs
?????文件?????????273??2012-04-01?23:31??meishi\.springBeans
?????目錄???????????0??2020-03-11?13:29??meishi\WebRoot\
?????目錄???????????0??2020-03-11?13:29??meishi\WebRoot\meta-INF\
?????文件??????????39??2012-04-01?23:31??meishi\WebRoot\meta-INF\MANIFEST.MF
?????目錄???????????0??2020-03-11?13:29??meishi\WebRoot\WEB-INF\
?????文件????????5700??2012-12-01?13:08??meishi\WebRoot\WEB-INF\applicationContext.xml
?????目錄???????????0??2020-03-11?13:29??meishi\WebRoot\WEB-INF\classes\
?????目錄???????????0??2020-03-10?17:42??meishi\WebRoot\WEB-INF\classes\com\
?????目錄???????????0??2020-03-11?13:29??meishi\WebRoot\WEB-INF\classes\com\action\
?????文件????????5294??2012-12-01?12:57??meishi\WebRoot\WEB-INF\classes\com\action\UserAction.class
?????文件????????2998??2012-11-30?20:32??meishi\WebRoot\WEB-INF\classes\com\action\adminAction.class
?????文件????????3720??2012-11-30?20:32??meishi\WebRoot\WEB-INF\classes\com\action\canguanAction.class
?????文件????????3742??2012-11-30?23:19??meishi\WebRoot\WEB-INF\classes\com\action\catelogAction.class
?????文件????????3440??2012-11-30?20:32??meishi\WebRoot\WEB-INF\classes\com\action\docAction.class
?????文件????????3730??2012-12-01?12:52??meishi\WebRoot\WEB-INF\classes\com\action\gonggaoAction.class
?????文件????????5597??2012-11-30?20:32??meishi\WebRoot\WEB-INF\classes\com\action\goodsAction.class
?????文件????????1416??2012-11-30?20:32??meishi\WebRoot\WEB-INF\classes\com\action\indexAction.class
?????文件????????3363??2012-12-01?12:56??meishi\WebRoot\WEB-INF\classes\com\action\liuyanAction.class
?????文件????????3964??2012-11-30?20:32??meishi\WebRoot\WEB-INF\classes\com\action\mingdianAction.class
?????文件????????4181??2012-12-01?12:32??meishi\WebRoot\WEB-INF\classes\com\action\shipinAction.class
?????目錄???????????0??2020-03-11?13:29??meishi\WebRoot\WEB-INF\classes\com\dao\
............此處省略946個文件信息

評論

共有 條評論