com.j256.ormlite.stmt.mapped
Class MappedCreate<T,ID>
java.lang.Object
com.j256.ormlite.stmt.mapped.BaseMappedStatement<T,ID>
com.j256.ormlite.stmt.mapped.MappedCreate<T,ID>
public class MappedCreate<T,ID>
- extends BaseMappedStatement<T,ID>
A mapped statement for creating a new instance of an object.
- Author:
- graywatson
insert
public int insert(DatabaseType databaseType,
DatabaseConnection databaseConnection,
T data,
ObjectCache objectCache)
throws SQLException
- Create an object in the database.
- Throws:
SQLException
build
public static <T,ID> MappedCreate<T,ID> build(DatabaseType databaseType,
TableInfo<T,ID> tableInfo)
This content is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.