com.j256.ormlite.stmt.mapped
Class BaseMappedStatement<T,ID>
java.lang.Object
com.j256.ormlite.stmt.mapped.BaseMappedStatement<T,ID>
- Direct Known Subclasses:
- BaseMappedQuery, MappedCreate, MappedDelete, MappedDeleteCollection, MappedUpdate, MappedUpdateId
public abstract class BaseMappedStatement<T,ID>
- extends Object
Abstract mapped statement which has common statements used by the subclasses.
- Author:
- graywatson
logger
protected static Logger logger
tableInfo
protected final TableInfo<T,ID> tableInfo
clazz
protected final Class<T> clazz
idField
protected final FieldType idField
statement
protected final String statement
argFieldTypes
protected final FieldType[] argFieldTypes
BaseMappedStatement
protected BaseMappedStatement(TableInfo<T,ID> tableInfo,
String statement,
FieldType[] argFieldTypes)
getFieldObjects
protected Object[] getFieldObjects(Object data)
throws SQLException
- Return the array of field objects pulled from the data object.
- Throws:
SQLException
convertIdToFieldObject
protected Object convertIdToFieldObject(ID id)
throws SQLException
- Return a field object converted from an id.
- Throws:
SQLException
toString
public String toString()
- Overrides:
toString
in class Object
This documentation is licensed by Gray Watson under the Creative Commons Attribution-Share Alike 3.0 License.