이중 foreach insert 작성 예제 자료구조 // getter, setter 생략 class User { private int userNum; private List orderList; } class Order { private int orderNum; private List itemList; } class Item { private int itemNum; private String itemName; private String itemPrice; } Mapper.xml INSERT INTO ITEM ( ITEM_NAME, ITEM_PRICE ) VALUES ( #{item.itemName}, #{item.itemPrice} )