public class SqlInserter
extends java.lang.Object
Copyright 2008 Partner Software, Inc.
| Constructor and Description |
|---|
SqlInserter(SqlTable table) |
SqlInserter(SqlTable table,
java.util.List<java.lang.String> columnNameList) |
SqlInserter(SqlTable table,
java.lang.String... columnNames) |
| Modifier and Type | Method and Description |
|---|---|
SqlTable |
getTable() |
void |
insert(Cog record)
Insert a record using the given Cog containing values.
|
void |
insert(java.util.List<java.lang.Object> values)
Inserts a record with the given list of values.
|
void |
insert(Naming<java.lang.Object> record)
Insert a record using the given Naming of values.
|
void |
insert(java.lang.Object... values)
Inserts a record with the given array of values.
|
public SqlInserter(SqlTable table) throws java.sql.SQLException
java.sql.SQLExceptionpublic SqlInserter(SqlTable table, java.lang.String... columnNames) throws java.sql.SQLException
java.sql.SQLExceptionpublic SqlInserter(SqlTable table, java.util.List<java.lang.String> columnNameList) throws java.sql.SQLException
java.sql.SQLExceptionpublic void insert(Naming<java.lang.Object> record) throws java.sql.SQLException
java.sql.SQLExceptionpublic void insert(Cog record) throws java.sql.SQLException
java.sql.SQLExceptionpublic void insert(java.lang.Object... values)
throws java.sql.SQLException
values - java.sql.SQLExceptionpublic void insert(java.util.List<java.lang.Object> values)
throws java.sql.SQLException
values - java.sql.SQLExceptionpublic SqlTable getTable()