public class SqlPreparedStatement
extends java.lang.Object
Copyright 2009 Partner Software, Inc.
| Constructor and Description |
|---|
SqlPreparedStatement(SqlConnection connection,
java.lang.String sql,
java.util.List<java.lang.String> fieldNames) |
SqlPreparedStatement(SqlConnection connection,
java.lang.String sql,
java.lang.String... fieldNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
SqlDataRecordSource |
executeQuery() |
int |
executeUpdate() |
java.util.List<java.lang.String> |
getFieldNames() |
java.lang.String |
getSql() |
java.sql.PreparedStatement |
getStatement() |
void |
setValues(Cog values) |
void |
setValues(Naming values) |
public SqlPreparedStatement(SqlConnection connection, java.lang.String sql, java.lang.String... fieldNames) throws java.sql.SQLException
java.sql.SQLExceptionpublic SqlPreparedStatement(SqlConnection connection, java.lang.String sql, java.util.List<java.lang.String> fieldNames) throws java.sql.SQLException
java.sql.SQLExceptionpublic void setValues(Naming values) throws java.sql.SQLException
java.sql.SQLExceptionpublic void setValues(Cog values) throws java.sql.SQLException
java.sql.SQLExceptionpublic int executeUpdate()
throws java.sql.SQLException
java.sql.SQLExceptionpublic SqlDataRecordSource executeQuery() throws java.sql.SQLException
java.sql.SQLExceptionpublic void close()
throws java.sql.SQLException
java.sql.SQLExceptionpublic java.lang.String getSql()
public java.sql.PreparedStatement getStatement()
public java.util.List<java.lang.String> getFieldNames()