Language
	
	Asturianu (ast) 
	Català (ca) 
	Čeština (cs) 
	Dansk (da) 
	Deutsch (de) 
	
	English [US] (en-US) 
	Español (es) 
	Esperanto (eo) 
	Eesti keel (et) 
	Euskara (eu) 
	Français (fr) 
	Gàidhlig (gd) 
	Galego (gl) 
	Italiano (it) 
	Lietuvių (lt) 
	Magyar (hu) 
	Nederlands (nl) 
	Norsk (no) 
	Polski (pl) 
	Português [do Brasil] (pt-BR) 
	Português [Europeu] (pt) 
	Română (ro) 
	Slovenčina (sk) 
	Slovenščina (sl) 
	Suomi (fi) 
	Svenska (sv) 
	Yкраїнська (uk) 
	Tiếng Việt (vi) 
	Türkçe (tr) 
	ኦሮሚኛ (om) 
	Հայերեն (hy) 
	Ελληνικά (el) 
	български език (bg) 
	Русский (ru) 
	Cрпски [ћирилицом] (sr) 
	
	עברית (he) 
	हिन्दी (hi) 
	ភាសាខ្មែរ (km) 
	தமிழ் (ta) 
	ภาษาไทย (th) 
	简体中文 (zh-CN) 
	正體中文 (zh-TW) 
	日本語 (ja) 
	한국어 (ko) 
	 
	
  
  
    
     The Free and Open Productivity Suite
   
      
      
  
 
::  com  :: sun  :: star  :: sdbc  :: 
 
 
interface XBatchExecution 
 
 
Description  
is used for collecting and executing a set of SQL statements.
  
 
 
 
 
Methods' Summary 
 
addBatch  
adds a SQL command to the current batch of commands for the statement
 object.
   
 
clearBatch  
makes the set of commands in the current batch empty.
   
 
executeBatch  
submits a batch of commands to the database for execution. 
   
 
Methods' Details 
 
addBatch 
 
Description  
adds a SQL command to the current batch of commands for the statement
 object.
  
Parameter sql  
the SQL statement which should be appended to the batch.
  
Throws  
SQLException 
 if a database access error occurs.
  
 
 
 
 
 
clearBatch 
 
Description  
makes the set of commands in the current batch empty.
  
Throws  
SQLException 
 if a database access error occurs.
  
 
 
 
 
 
executeBatch 
 
Description  
submits a batch of commands to the database for execution. 
  
Returns  
an array of update counts containing one element for each 
 command in the batch. The array is ordered according to the order in 
 which commands were inserted into the batch. 
  
Throws  
SQLException 
 if a database access error occurs.
  
 
 
 
 
 
Top of Page Copyright © 2013, The Apache Software Foundation, Licensed under the Apache License, Version 2.0. Apache, the Apache feather logo, Apache OpenOffice and OpenOffice.org are trademarks of The Apache Software Foundation. Other names may be trademarks of their respective owners.