ca.spaz.sql
Class SQLInsert
java.lang.Object
ca.spaz.sql.SQLStatement
ca.spaz.sql.SQLInsert
- All Implemented Interfaces:
- Columns
public class SQLInsert
- extends SQLStatement
- implements Columns
Simplifies constructing SQL Insert Queries.
- Author:
- davidson
Constructor Summary |
SQLInsert(java.lang.String tableName)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
SQLInsert
public SQLInsert(java.lang.String tableName)
doExecute
protected void doExecute(java.sql.Connection con)
throws java.sql.SQLException
- Overrides:
doExecute
in class SQLStatement
- Throws:
java.sql.SQLException
doExecuteQuery
protected java.sql.ResultSet doExecuteQuery(java.sql.Connection con)
throws java.sql.SQLException
- Overrides:
doExecuteQuery
in class SQLStatement
- Throws:
java.sql.SQLException
getQueryString
protected java.lang.String getQueryString()
- Specified by:
getQueryString
in class SQLStatement
getColumns
public SQLColumnSet getColumns()
- Retrieve the
cols
from the SQLInsert
- Specified by:
getColumns
in interface Columns
- Returns:
- Returns the cols.
Copyright © 2005 Spaz. All Rights Reserved.