Error retrieving information from user datastore devices 從用戶數(shù)據(jù)存儲中檢索信息時(shí)發(fā)生錯誤(設(shè)備)
First, we define the data that we will store in the datastore 首先,定義要存儲在數(shù)據(jù)存儲器中的數(shù)據(jù)。
Simulated data access objects essentially simulate a back-end datastore 模擬數(shù)據(jù)訪問對象實(shí)際上模擬后端數(shù)據(jù)存儲。
In this case, i start by writing a dao to provide search capabilities on the product catalog datastore 在這個示例中,我從編寫dao開始,用它提供對產(chǎn)品目錄數(shù)據(jù)存儲的搜索功能。
Any other program that knows the attributes of our objects can use the same datastore more on this under 任何知道對象屬性的其它程序都可以使用同樣的數(shù)據(jù)存儲器(這方面的詳細(xì)信息在
In the persistent classes, the datastore is an abstract storage device, which can be a file or a database, for example 在persistent類中,數(shù)據(jù)存儲器是抽象存儲設(shè)備,例如,它可以是文件或數(shù)據(jù)庫。
And even then, if you move away from relational database as your underlying datastore, then you are totally dead 甚至于,如果您不使用關(guān)系數(shù)據(jù)庫作為底層數(shù)據(jù)存儲庫,那么jdbc實(shí)現(xiàn)也將完全不能工作。
When you call a method on one of pixie s proxy objects, it magically connects to the pixie datastore and fetches the real object for you 當(dāng)您調(diào)用其中一個pixie代理對象的方法時(shí),它神奇地連接到pixie數(shù)據(jù)存儲并為您獲取真正需要的對象。
Finally, we look through the datastore for objects whose name key contains the string homework 1 and perform an operation on each of those objects 最后,遍歷數(shù)據(jù)存儲器,查找那些name鍵包含字符串homework1的對象,然后對這些對象中的每一個執(zhí)行操作。
When you add a local datastore to your application, you will have a single place through which all data storage and retrieval requests pass :當(dāng)你為你的應(yīng)用程序增加一個本地?cái)?shù)據(jù)存儲時(shí),你將有一個單獨(dú)的位置用來處理你所有的數(shù)據(jù)存儲以及取回經(jīng)過的請求。