DBO - the type of the database objectpublic interface InsertDao<DBO>
| Modifier and Type | Method and Description |
|---|---|
int |
insert(DBO dbo)
Inserts a single entry into the table.
|
void |
insertAll(java.util.List<DBO> dbos)
Inserts a list of entries into the table.
|
int insert(DBO dbo) throws java.lang.Throwable
dbo - the database object being insertedjava.lang.Throwable - if an error occurred while trying to insert a row into
the tablevoid insertAll(java.util.List<DBO> dbos) throws java.lang.Throwable
dbos - a list of database objects being insertedjava.lang.Throwable - if an error occurred while trying to insert many rows
into the table