Am I right when I say that I can only use 1 string sql query for batch processing using PreparedStatement
in Java?
For example, this is the batch I want to process using PreparedStatement
:
INSERT INTO tbl_Customer VALUES(?,?,?,?)
INSERT INTO tbl_Order VALUES(?,?,?,?,?)
Is there any way to process these statements as a batch? Sorry for my bad English.