I have a Java function to insert values into two tables synchronously:
- product(productname,productdesc)
- productDetails(productprice)
How can I insert multiple records to productprice in the productDetails table ?
Thanks
[Bindable]
private var collection:ArrayCollection = new ArrayCollection([{productprice:'1'},{productprice:'2'}]);
protected function button_clickHandler(event:MouseEvent):void
{
productinsert1Param.productdesc = productdescTextInput.text;
productinsert1Param.productname = productnameTextInput.text;
productinsert1Param.productprice = ;
executeResult.token = updateStatus.execute(productinsert1Param);
}