embedded structured query language 中文意思是什麼
embedded structured query language
解釋
嵌入式結構化查詢語言-
To persistence the objects there are two common approach. one approach is that structured query language ( sql ) codeis embedded in the source code of your classes. the other approach is that sql statements for your business classes are encapsulated in one or more " data classes. " the disadvantage is that it directly couples your business classes with the schema of your relational database, implying that a simple change such as renaming a column or porting to another database results in a rework of your source code
實現在關系數據庫存取對象,常用的做法有:一種方法是在對象中直接編寫sql代碼來存取對象,另一種方法是將sql代碼在專門的數據類(或存儲過程)中編寫,但著兩種方式都使得對象模型與關系數據庫模式的耦合度大,不容易維護,因為關系數據庫模式的微小改動,都將導致應用程序的重新編譯。
分享友人