public class PreparedStatement extends Object
| Constructor and Description |
|---|
PreparedStatement(PreparedStatement stmt) |
| Modifier and Type | Method and Description |
|---|---|
void |
addbatch(Base obj) |
void |
close() |
boolean |
execute(Base obj) |
void |
executeBatch() |
ResultSet |
executeQuery() |
int |
executeUpdate(boolean doPush,
Base obj) |
PreparedStatement |
getStmt() |
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(Base obj) throws SQLException
SQLExceptionpublic int executeUpdate(boolean doPush,
Base obj)
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(Base obj) throws SQLException
SQLExceptionpublic void executeBatch()
throws SQLException
SQLExceptionpublic PreparedStatement getStmt()
Copyright © 2018. All rights reserved.