A JDBC Statement
. For documentation of this class, see java.sql.Statement
.
Methods
Detailed documentation
addBatch(sql)
For documentation of this method, see java.sql.Statement#addBatch(String)
.
Parameters
Name | Type | Description |
---|---|---|
sql | String |
cancel()
For documentation of this method, see java.sql.Statement#cancel()
.
clearBatch()
For documentation of this method, see java.sql.Statement#clearBatch()
.
clearWarnings()
For documentation of this method, see java.sql.Statement#clearWarnings()
.
close()
For documentation of this method, see java.sql.Statement#close()
.
execute(sql)
For documentation of this method, see java.sql.Statement#execute(String)
.
Parameters
Name | Type | Description |
---|---|---|
sql | String |
Return
Boolean
execute(sql, autoGeneratedKeys)
For documentation of this method, see java.sql.Statement#execute(String, int)
.
Parameters
Name | Type | Description |
---|---|---|
sql | String | |
autoGeneratedKeys | Integer |
Return
Boolean
execute(sql, columnIndexes)
For documentation of this method, see java.sql.Statement#execute(String, int[])
.
Parameters
Name | Type | Description |
---|---|---|
sql | String | |
columnIndexes | Integer[] |
Return
Boolean
execute(sql, columnNames)
For documentation of this method, see java.sql.Statement#execute(String, String[])
.
Parameters
Name | Type | Description |
---|---|---|
sql | String | |
columnNames | String[] |
Return
Boolean
executeBatch()
For documentation of this method, see java.sql.Statement#executeBatch()
.
Return
Integer[]
executeQuery(sql)
For documentation of this method, see java.sql.Statement#executeQuery(String)
.
Parameters
Name | Type | Description |
---|---|---|
sql | String |
Return
executeUpdate(sql)
For documentation of this method, see java.sql.Statement#executeUpdate(String)
.
Parameters
Name | Type | Description |
---|---|---|
sql | String |
Return
Integer
executeUpdate(sql, autoGeneratedKeys)
For documentation of this method, see java.sql.Statement#executeUpdate(String, int)
.
Parameters
Name | Type | Description |
---|---|---|
sql | String | |
autoGeneratedKeys | Integer |
Return
Integer
executeUpdate(sql, columnIndexes)
For documentation of this method, see java.sql.Statement#executeUpdate(String, int)
.
Parameters
Name | Type | Description |
---|---|---|
sql | String | |
columnIndexes | Integer[] |
Return
Integer
executeUpdate(sql, columnNames)
For documentation of this method, see
java.sql.Statement#executeUpdate(String, String[])
.
Parameters
Name | Type | Description |
---|---|---|
sql | String | |
columnNames | String[] |
Return
Integer
getFetchDirection()
For documentation of this method, see java.sql.Statement#getFetchDirection()
.
Return
Integer
getFetchSize()
For documentation of this method, see java.sql.Statement#getFetchSize()
.
Return
Integer
getGeneratedKeys()
For documentation of this method, see java.sql.Statement#getGeneratedKeys()
.
Return
getMaxFieldSize()
For documentation of this method, see java.sql.Statement#getMaxFieldSize()
.
Return
Integer
getMoreResults()
For documentation of this method, see java.sql.Statement#getMoreResults()
.
Return
Boolean
getMoreResults(current)
For documentation of this method, see java.sql.Statement#getMoreResults(int)
.
Parameters
Name | Type | Description |
---|---|---|
current | Integer |
Return
Boolean
getQueryTimeout()
For documentation of this method, see java.sql.Statement#getQueryTimeout()
.
Return
Integer
getResultSetConcurrency()
For documentation of this method, see java.sql.Statement#getResultSetConcurrency()
.
Return
Integer
getResultSetHoldability()
For documentation of this method, see java.sql.Statement#getResultSetHoldability()
.
Return
Integer
getResultSetType()
For documentation of this method, see java.sql.Statement#getResultSetType()
.
Return
Integer
getUpdateCount()
For documentation of this method, see java.sql.Statement#getUpdateCount()
.
Return
Integer
getWarnings()
Returns the current set of warnings reported by the driver. For documentation of this method,
see java.sql.Statement#getWarnings()
Return
String[]
— array of warnings
setCursorName(name)
For documentation of this method, see java.sql.Statement#setCursorName(String)
.
Parameters
Name | Type | Description |
---|---|---|
name | String |
setEscapeProcessing(enable)
For documentation of this method, see java.sql.Statement#setEscapeProcessing(boolean)
.
Parameters
Name | Type | Description |
---|---|---|
enable | Boolean |
setFetchDirection(direction)
For documentation of this method, see java.sql.Statement#setFetchDirection(int)
.
Parameters
Name | Type | Description |
---|---|---|
direction | Integer |
setFetchSize(rows)
For documentation of this method, see java.sql.Statement#setFetchSize(int)
.
Parameters
Name | Type | Description |
---|---|---|
rows | Integer |
setMaxFieldSize(max)
For documentation of this method, see java.sql.Statement#setMaxFieldSize(int)
.
Parameters
Name | Type | Description |
---|---|---|
max | Integer |
setMaxRows(max)
For documentation of this method, see java.sql.Statement#setMaxRows(int)
.
Parameters
Name | Type | Description |
---|---|---|
max | Integer |
setPoolable(poolable)
For documentation of this method, see java.sql.Statement#setPoolable(boolean)
.
Parameters
Name | Type | Description |
---|---|---|
poolable | Boolean |
setQueryTimeout(seconds)
For documentation of this method, see java.sql.Statement#setQueryTimeout(int)
.
Parameters
Name | Type | Description |
---|---|---|
seconds | Integer |