|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--kodo.jdbc.sql.SQLBuffer
Buffer for SQL statements that can be used to create java.sql.PreparedStatements.
| Constructor Summary | |
SQLBuffer(DBDictionary dict)
Default constructor. |
|
SQLBuffer(SQLBuffer buf)
Copy constructor. |
|
| Method Summary | |
SQLBuffer |
append(Column col)
|
SQLBuffer |
append(SQLBuffer buf)
Append all SQL and parameters of the given buffer. |
SQLBuffer |
append(String s)
|
SQLBuffer |
append(Table table)
|
SQLBuffer |
appendValue(boolean b)
Append a parameter value. |
SQLBuffer |
appendValue(byte b)
Append a parameter value. |
SQLBuffer |
appendValue(char c)
Append a parameter value. |
SQLBuffer |
appendValue(double d)
Append a parameter value. |
SQLBuffer |
appendValue(float f)
Append a parameter value. |
SQLBuffer |
appendValue(int i)
Append a parameter value. |
SQLBuffer |
appendValue(long l)
Append a parameter value. |
SQLBuffer |
appendValue(Object o)
Append a parameter value. |
SQLBuffer |
appendValue(short s)
Append a parameter value. |
Object |
clone()
Perform a shallow clone of this SQL Buffer. |
String |
getSQL()
Return the SQL for this buffer. |
boolean |
isEmpty()
Return true if the buffer is emtpy. |
PreparedStatement |
prepareStatement(Connection conn)
Create and populate the parameters of a prepared statement using the SQL in this buffer. |
PreparedStatement |
prepareStatement(Connection conn,
int rsType,
int rsConcur)
Create and populate the parameters of a prepared statement using the SQL in this buffer. |
void |
setParameters(PreparedStatement ps)
Populate the parameters of an existing PreparedStatement with values from this buffer. |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SQLBuffer(DBDictionary dict)
public SQLBuffer(SQLBuffer buf)
| Method Detail |
public Object clone()
clone in class Objectpublic boolean isEmpty()
public SQLBuffer append(SQLBuffer buf)
public SQLBuffer append(Table table)
public SQLBuffer append(Column col)
public SQLBuffer append(String s)
public SQLBuffer appendValue(Object o)
public SQLBuffer appendValue(boolean b)
public SQLBuffer appendValue(byte b)
public SQLBuffer appendValue(char c)
public SQLBuffer appendValue(double d)
public SQLBuffer appendValue(float f)
public SQLBuffer appendValue(int i)
public SQLBuffer appendValue(long l)
public SQLBuffer appendValue(short s)
public String getSQL()
public PreparedStatement prepareStatement(Connection conn)
throws SQLException
public PreparedStatement prepareStatement(Connection conn,
int rsType,
int rsConcur)
throws SQLException
public void setParameters(PreparedStatement ps)
throws SQLException
|
SolarMetric Kodo JDO 3.0.3 generated on February 20 2004 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||