The cascade attribute in the tag for the orders property, found in the customer mapping file, causes all of a customer's orders to be loaded automatically when the customer object is loaded.
由于Customer映射文件中的标签中的cascade属性的设置,程序会在加载Customer对象的时候自动加载orders对象。
The cascade attribute in the tag for the orders property, found in the customer mapping file, causes all of a customer's orders to be loaded automatically when the customer object is loaded.
由于Customer映射文件中的标签中的cascade属性的设置,程序会在加载Customer对象的时候自动加载orders对象。
应用推荐