title: Insert data into multiple tables in single transaction in jdbc
body: <p>I have a table <strong>Order</strong> which has fields
  <strong>Orderid|status|cid|</strong></p>
  
  <p>and another table
  <strong>Order_Details</strong></p>
  
  <p><strong>Oder_details_id|Order_id|Item id</strong></p>
  
  <p>I want to insert values in both the table in single transaction like if a customer place an order so the an order id should be generated and that order_id should be inserted into Order and Order_Details table.
  But how do i do in JDBC?? </p>