info.informatica.data.sql
Class InsertStatement
java.lang.Object
info.informatica.data.sql.SQLStatement
info.informatica.data.sql.SQLDataStatement
info.informatica.data.sql.InsertStatement
- All Implemented Interfaces:
- Serializable
public class InsertStatement
- extends SQLDataStatement
- implements Serializable
Insert statement.
- Author:
- amengual at informatica dot info
- See Also:
- Serialized Form
InsertStatement
public InsertStatement(MetaData metadata)
prepareStatement
public PreparedStatement prepareStatement(Connection con)
throws SQLException
- Overrides:
prepareStatement in class SQLStatement
- Throws:
SQLException
toString
public String toString()
- Overrides:
toString in class SQLStatement
getStatement
public String getStatement()
- Overrides:
getStatement in class SQLStatement
fillStatement
public void fillStatement(PreparedStatement stmt,
Valueset values)
throws SQLException,
DataException
- Fills the parameters of a given statement with the default fields for this type
of query.
You do not need to validate the fields first.
- Overrides:
fillStatement in class SQLStatement
- Parameters:
stmt - the statementvalues - the set of values of the fields
- Throws:
DataException - TODO
SQLException