title: JDBC to the limit
body: <p>I'm using <code>java.sql.Connection.setAutoCommit(false)</code> and <code>java.sql.PreparedStatement.addBatch()</code> to do some bulk inserts. I'm guessing how many correct insert/update statements can be safely executed before a commit? For example, executing 100.000 inserts before a commit may results in a JDBC driver complaint or memory leakage or something else? I guess there is a limit about how many statements I can execute before a commit, where can I find such infos?</p>