public class PreparedStatement extends Object
| Constructor and Description |
|---|
PreparedStatement(PreparedStatement stmt) |
| Modifier and Type | Method and Description |
|---|---|
void |
addbatch() |
void |
close() |
boolean |
execute(String[] apps) |
void |
executeBatch(String[] apps) |
boolean |
executeNoReplication() |
ResultSet |
executeQuery() |
int |
executeUpdate(String[] apps) |
int |
executeUpdateNoReplication() |
void |
setInt(int parameterIndex,
int x) |
void |
setLong(int parameterIndex,
long x) |
void |
setString(int parameterIndex,
String x) |
void |
setTimestamp(int parameterIndex,
Timestamp x) |
public PreparedStatement(PreparedStatement stmt)
public boolean execute(String[] apps) throws SQLException
SQLExceptionpublic int executeUpdateNoReplication()
throws SQLException
SQLExceptionpublic boolean executeNoReplication()
throws SQLException
SQLExceptionpublic int executeUpdate(String[] apps) throws SQLException
SQLExceptionpublic ResultSet executeQuery() throws SQLException
SQLExceptionpublic void close()
throws SQLException
SQLExceptionpublic void setString(int parameterIndex,
String x)
throws SQLException
SQLExceptionpublic void setInt(int parameterIndex,
int x)
throws SQLException
SQLExceptionpublic void setLong(int parameterIndex,
long x)
throws SQLException
SQLExceptionpublic void setTimestamp(int parameterIndex,
Timestamp x)
throws SQLException
SQLExceptionpublic void addbatch()
throws SQLException
SQLExceptionpublic void executeBatch(String[] apps) throws SQLException
SQLExceptionCopyright © 2018. All rights reserved.