I have connection to database
props.setProperty("user", login);
props.setProperty("password", password);
props.setProperty("reWriteBatchedInserts", "true");
PreparedStatement
ps = connection.prepareStatement(sqlStr);
//...
psRegion.addBatch();
How can i get full request from statemrnt? If i try System.out.println(ps);
i have query only with last added parameters.
I need to get insert into a.a(x,y) values (x1,y1), (x2,y2), ...;