国产精品婷婷久久久久久,国产精品美女久久久浪潮av,草草国产,人妻精品久久无码专区精东影业

ibatis sql maps指導(dǎo)------文獻(xiàn)翻譯.doc

約20頁DOC格式手機(jī)打開展開

ibatis sql maps指導(dǎo)------文獻(xiàn)翻譯,簡介這個(gè)簡短的教程將帶領(lǐng)你通過一個(gè)典型的sql map演練,教程中的每一個(gè)主題的細(xì)節(jié)部分您都可以在官方網(wǎng)站http://ibatis.apache.org中的sql map開發(fā)者指南中找到。準(zhǔn)備使用sql mapsql map 架構(gòu)能應(yīng)用于設(shè)計(jì)不好的數(shù)據(jù)庫模型甚至是設(shè)計(jì)不好的對象模型。盡管如此,您在設(shè)計(jì)數(shù)據(jù)庫模型和對象...
編號:15-269044大小:85.50K
分類: 論文>外文翻譯

內(nèi)容介紹

此文檔由會(huì)員 wanli1988go 發(fā)布

簡介
這個(gè)簡短的教程將帶領(lǐng)你通過一個(gè)典型的SQL Map演練,教程中的每一個(gè)主題的細(xì)節(jié)部分您都可以在官方網(wǎng)站http://ibatis.apache.org中的SQL Map開發(fā)者指南中找到。
準(zhǔn)備使用SQL Map
SQL Map 架構(gòu)能應(yīng)用于設(shè)計(jì)不好的數(shù)據(jù)庫模型甚至是設(shè)計(jì)不好的對象模型。盡管如此,您在設(shè)計(jì)數(shù)據(jù)庫模型和對象模型時(shí),還是應(yīng)該遵循最佳的設(shè)計(jì)原則。這樣,您會(huì)獲得更好的性能和更簡潔清晰的設(shè)計(jì)方案。
設(shè)計(jì)最容易開始的地方是分析應(yīng)用的業(yè)務(wù)邏輯。分析什么是應(yīng)用的業(yè)務(wù)對象,什么是數(shù)據(jù)模型以及兩者之間的關(guān)系。作為快速入門第一個(gè)例子,我們使用一個(gè)簡單的 JavaBean Person 類。
Introuction
This brief tutorial will take you through a walkthrough of a typical use of SQL Maps. The details of each of the topics below can be found in the SQL Maps developer guide available from http://ibatis.apache.org
Preparing to Use SQL Maps
The SQL Maps framework is very tolerant of bad database models and even bad object models. Despite this, it is recommended that you use best practices when designing your database (proper normalization) and your object model. By doing so, you will get good performance and a clean design.
The easiest place to start is to analyze what you’re working with. What are your business objects? What are your database tables? How do they relate to each other? For the first example, consider the following simple Person class that conforms to the typical JavaBeans