|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectinfo.informatica.data.sql.SQLStatement
public class SQLStatement
SQL statement.
| Constructor Summary | |
|---|---|
SQLStatement(MetaData metadata,
String query)
|
|
SQLStatement(StatementMetaData metadata)
|
|
| Method Summary | |
|---|---|
void |
fillStatement(PreparedStatement stmt,
Valueset values)
Fills the parameters of a given statement with the key fields. |
void |
fillStatement(PreparedStatement stmt,
Valueset values,
Iterator<FieldName> params)
Fills the parameters of a given statement. |
String |
getStatement()
|
void |
onModify()
|
PreparedStatement |
prepareStatement(Connection con)
|
void |
setStatement(String statement)
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SQLStatement(MetaData metadata,
String query)
public SQLStatement(StatementMetaData metadata)
| Method Detail |
|---|
public void setStatement(String statement)
public String getStatement()
public String toString()
toString in class Object
public PreparedStatement prepareStatement(Connection con)
throws SQLException
SQLException
public void fillStatement(PreparedStatement stmt,
Valueset values)
throws SQLException,
DataException
You do not need to validate the fields first.
stmt - the statementvalues - the set of values of the fields
DataException - TODO
SQLException
public void fillStatement(PreparedStatement stmt,
Valueset values,
Iterator<FieldName> params)
throws SQLException,
DataException
i of
the Statement is filled with the value of the i-th field
name given.
You do not need to validate the fields first.
stmt - the statementvalues - the set of values of the fieldsparams - the dictionary data names (not the UI names) of the fields
DataException - TODO
SQLExceptionpublic void onModify()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||