|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.j256.ormlite.stmt.mapped.BaseMappedStatement<T,ID>
com.j256.ormlite.stmt.mapped.MappedCreate<T,ID>
public class MappedCreate<T,ID>
A mapped statement for creating a new instance of an object.
Field Summary |
---|
Fields inherited from class com.j256.ormlite.stmt.mapped.BaseMappedStatement |
---|
argFieldTypes, idField, logger, statement, tableInfo |
Method Summary | ||
---|---|---|
static
|
build(DatabaseType databaseType,
TableInfo<T,ID> tableInfo)
|
|
int |
insert(DatabaseConnection databaseConnection,
T data)
Create an object in the database. |
Methods inherited from class com.j256.ormlite.stmt.mapped.BaseMappedStatement |
---|
convertIdToFieldObject, delete, extractIdToFieldObject, getFieldObjects, getStatement, toString, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public int insert(DatabaseConnection databaseConnection, T data) throws SQLException
insert
in class BaseMappedStatement<T,ID>
SQLException
public static <T,ID> MappedCreate<T,ID> build(DatabaseType databaseType, TableInfo<T,ID> tableInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |