freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

個(gè)人空間信息系統(tǒng)計(jì)算機(jī)專業(yè)畢業(yè)設(shè)計(jì)畢業(yè)論文-閱讀頁

2025-02-02 13:33本頁面
  

【正文】 據(jù)庫連接的設(shè)計(jì)數(shù)據(jù)庫的連接是本系統(tǒng)設(shè)計(jì)的主要內(nèi)容,數(shù)據(jù)庫是數(shù)據(jù)存儲(chǔ)和獲取的地方,所以很重要,如果數(shù)據(jù)的連接出現(xiàn)了異常,則系統(tǒng)就失去它的作用。如: 外部使用者可通過getConnection 方法獲取連接,使用完畢后再通過releaseConnection 方法將連接返回,注意此時(shí)連接并沒有關(guān)閉,而是由連接池管理器回收,并為下一次使用做好準(zhǔn)備。 private final String userName = root。 private Connection con = null。 } catch (Exception ex) { (數(shù)據(jù)庫加載失敗)。 (true)。 (creatConnectionError!)。 } 6 系統(tǒng)測(cè)試階段 測(cè)試的目的首先,確認(rèn)軟件的質(zhì)量,其一方面是確認(rèn)軟件做了你所預(yù)期做的事情,另一方面是確認(rèn)軟件以正確的方式來做這個(gè)事情,其次是提供信息,比如提供給開發(fā)人員或者程序經(jīng)理的回饋信息,為風(fēng)險(xiǎn)評(píng)估所做準(zhǔn)備,然后軟件測(cè)試不僅在測(cè)試軟件產(chǎn)品本身,而且還包括軟件開發(fā)過程,如果一個(gè)產(chǎn)品開發(fā)完成之后發(fā)現(xiàn)了很多問題,這說明此軟件開發(fā)過程很可能是有缺陷的,因此,軟件測(cè)試的第三個(gè)目的是保證整個(gè)軟件開發(fā)過程是高質(zhì)量的。 測(cè)試的步驟由于本系統(tǒng)不能作為一個(gè)小系統(tǒng)來測(cè)試,也就是不能把它看作一個(gè)整體來對(duì)其測(cè)試。子系統(tǒng)測(cè)試:把經(jīng)過單元測(cè)試的模塊放在一起形成一個(gè)子系統(tǒng)來測(cè)試。測(cè)試驗(yàn)收:確保該系統(tǒng)可以給用戶使用、滿足客戶的需求。通過這段時(shí)間的開發(fā),讓我了解了開發(fā)一個(gè)系統(tǒng)的流程,有了一定的開發(fā)經(jīng)驗(yàn)。所以在編程的時(shí)候,出現(xiàn)了比較多的錯(cuò)誤,系統(tǒng)的功能和性能還不是很好,容錯(cuò)能力比較低。由于時(shí)間比較倉促,本系統(tǒng)的功能實(shí)現(xiàn)還不是很完美,還存在需要改進(jìn)的地方,但我確實(shí)已經(jīng)盡最大努力了。致謝本次畢業(yè)設(shè)計(jì)是在王喜鳳老師和幾個(gè)同學(xué)的指導(dǎo)和幫助下完成的,從選題到開題報(bào)告,從寫作提綱,到一遍又一遍地指出每稿中的具體問題,老師都嚴(yán)格把關(guān),循循善誘,在此我表示衷心感謝。短短的幾個(gè)月我獲益頗多。謝謝您的鼓勵(lì)與支持。 String sql = null。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 if ((修改)) sql = update tb_article set typeID=39。,title=39。,content=39。 where id=39。 if ((刪除)) sql = delete from tb_article where id=39。 if ((增加)) sql = update tb_article set number=number+1 where id=39。 if ((sql)) { flag = true。 } public List queryArticle(Integer typeId) { List list = new ArrayList()。 if (typeId == null) sql = select * from tb_article。 + typeId + 39。 ResultSet rs = (sql)。 ((1))。 ((3))。 ((5))。 (articleForm)。 } return list。 + id + 39。 try { while (()) { articleForm = new ArticleForm()。 ((2))。 ((4))。 ((6))。 String sql = null。 + () + 39。 + () + 39。 if ((刪除)) sql = delete from tb_articleType where id=39。 if ((sql)) { flag = true。 } public String queryArticleTypeName(Integer id) { String typeName = null。 + id + 39。 try { while (()) { typeName = (typeName)。 } return typeName。 ArticleTypeForm form = null。 ResultSet rs = (sql)。 ((1))。 ((3))。 } } catch (SQLException e) { ()。 }二.相冊(cè)管理模塊主要代碼public boolean operationPhoto(String operation, PhotoForm photoForm) { boolean flag = false。 if ((刪除)) sql = delete from tb_photo where id=39。 if ((添加)) sql = insert into tb_photo(photoAddress,photoDescription,photoTime) values (39。,39。,39。)。 if ((sql)) flag = true。 } public PhotoForm queryPhoto(Integer id) { PhotoForm form = null。 + id + 39。 try { while (()) { form = new PhotoForm()。 ((2))。 ((4))。 } return form。 PhotoForm form = null。 ResultSet rs = (sql)。 (((1)))。 ((3))。 (form)。 } return list。 String sql = select max(id) as id from tb_photo。 try { while (()) { maxID = (id)。 } return maxID。 String sql = update tb_consumer set account=39。,password=39。,name=39。,sex=39。,Number=39。,mainPage=39。,interest=39。,eMail=39。 where id=39。 if ((sql)) { flag = true。 } // 更新用戶操作 public boolean updateConsumerForm(ConsumerForm form) { boolean flag = false。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 } return flag。 String sql = delete from tb_consumer where account=39。 if ((sql)) { flag = true。 } // 添加用戶信息 public boolean addConsumerForm(ConsumerForm form) { boolean flag = false。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 + () + 39。 (sql)。 } return flag。 + id + 39。 try { ResultSet rs = (sql)。 } } catch (SQLException e) { ()。 } // 以用戶名為查詢條件,查詢一組數(shù)據(jù) public ConsumerForm getConsumerForm(String account) { String sql = select * from tb_consumer where account=39。 try { ResultSet rs = (sql)。 (((1)))。 ((3))。 ((5))。 ((7))。 ((9))。 } } catch (SQLException e) { ()。 } // 根據(jù)用戶賬號(hào)查詢所有的數(shù)據(jù) public List getConsumerList(String manageLevel) { List list = new ArrayList()。 + manageLevel + 39。 while (()) { consumerForm = new ConsumerForm()。 ((2))。 ((4))。 ((6))。 ((8))。 ((10))。 } } catch (SQLException e) { ()。 }四.公告信息管理主要代碼public boolean operationDiscuss(String operation, DiscussForm disussForm) { boolean flag = false。 if ((刪除)) sql = delete from tb_discuss where id=39。 if ((添加)) sql = insert into tb_discuss(discussTitle,discussContent,discussTime) values (39。,39。,39。)。 + () + 39。 + () + 39。 + () + 39。 return flag。 DiscussForm form = null。 try { ResultSet rs = (sql)。 (((1)))。 ((3))。 (form)。 } return list。 String sql = select * from tb_discuss where id=39。 try { ResultSet rs = (sql)。 (((1)))。 ((3))。 } } catch (SQLException e) { ()。 } 五.投票信息管理主要代碼public boolean operationVote(String operation, VoteForm voteForm) { boolean flag = false。 if ((刪除)) sql = delete from tb_vote where id=39。 if ((添加)) sql = insert into tb_vote(voteName,voteNumber) values(39。,39。)。 + () + 39。 return flag。 String sql = select * from tb_vote。 VoteForm form = null。 (((1)))。 (((3)))。 } } catch (SQLException e) { // TODO 自動(dòng)生成 catch 塊 ()。
點(diǎn)擊復(fù)制文檔內(nèi)容
教學(xué)教案相關(guān)推薦
文庫吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1