Method addBatch(String sql)
Return type: void
Member of:
java.sql.Statement
[
api documentation
] [
main menu
]
Examples of how the element is used
(one line per example):
[
add your own example
]
1
stmt.addBatch("UPDATE testbatch SET col1 = col1 + 1 WHERE pk = 1");
2
stmt.addBatch("UPDATE testbatch SET col1 = col1 + 1 WHERE pk = 1");
3
public void addBatch(String sql) throws SQLException { _stmt.addBatch( sql); }
4
public void addBatch(String sql) throws SQLException { checkOpen(); _stmt.addBatch(sql);}
5
_cs.addBatch(p1);
6
delegate_.addBatch( sql );
7
passthru.addBatch(p0);
8
m_pstmt.addBatch(sql);
9
stmt.addBatch(sql);
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.