public class DataBind extends Object
| Constructor and Description |
|---|
DataBind(PreparedStatement pstmt) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
int |
currentPos() |
int |
decrementPos() |
int |
executeUpdate() |
PreparedStatement |
getPstmt() |
int |
nextPos() |
void |
resetPos() |
void |
setBigDecimal(BigDecimal v) |
void |
setBlob(byte[] bytes) |
void |
setBoolean(boolean v) |
void |
setByte(byte v) |
void |
setBytes(byte[] v) |
void |
setChar(char v) |
void |
setClob(String content) |
void |
setDate(Date v) |
void |
setDouble(double i) |
void |
setFloat(float i) |
void |
setInt(int i) |
void |
setLong(long i) |
void |
setNull(int jdbcType) |
void |
setObject(Object value) |
void |
setObject(Object value,
int sqlType) |
void |
setShort(short i) |
void |
setString(String s) |
void |
setTime(Time v) |
void |
setTimestamp(Timestamp v) |
public DataBind(PreparedStatement pstmt)
public void close()
throws SQLException
SQLExceptionpublic int currentPos()
public void resetPos()
public void setObject(Object value) throws SQLException
SQLExceptionpublic void setObject(Object value, int sqlType) throws SQLException
SQLExceptionpublic void setNull(int jdbcType)
throws SQLException
SQLExceptionpublic int nextPos()
public int decrementPos()
public int executeUpdate()
throws SQLException
SQLExceptionpublic PreparedStatement getPstmt()
public void setString(String s) throws SQLException
SQLExceptionpublic void setInt(int i)
throws SQLException
SQLExceptionpublic void setLong(long i)
throws SQLException
SQLExceptionpublic void setShort(short i)
throws SQLException
SQLExceptionpublic void setFloat(float i)
throws SQLException
SQLExceptionpublic void setDouble(double i)
throws SQLException
SQLExceptionpublic void setBigDecimal(BigDecimal v) throws SQLException
SQLExceptionpublic void setDate(Date v) throws SQLException
SQLExceptionpublic void setTimestamp(Timestamp v) throws SQLException
SQLExceptionpublic void setTime(Time v) throws SQLException
SQLExceptionpublic void setBoolean(boolean v)
throws SQLException
SQLExceptionpublic void setBytes(byte[] v)
throws SQLException
SQLExceptionpublic void setByte(byte v)
throws SQLException
SQLExceptionpublic void setChar(char v)
throws SQLException
SQLExceptionpublic void setBlob(byte[] bytes)
throws SQLException
SQLExceptionpublic void setClob(String content) throws SQLException
SQLExceptionCopyright © 2014. All Rights Reserved.