Search in sources :

Example 1 with CompiledStatement

use of com.j256.ormlite.support.CompiledStatement in project ormlite-android by j256.

the class AndroidDatabaseConnection method compileStatement.

@Override
public CompiledStatement compileStatement(String statement, StatementType type, FieldType[] argFieldTypes, int resultFlags, boolean cacheStore) {
    // resultFlags argument is not used in Android-land since the {@link Cursor} is bi-directional.
    CompiledStatement stmt = new AndroidCompiledStatement(statement, db, type, cancelQueriesEnabled, cacheStore);
    logger.trace("{}: compiled statement got {}: {}", this, stmt, statement);
    return stmt;
}
Also used : CompiledStatement(com.j256.ormlite.support.CompiledStatement)

Aggregations

CompiledStatement (com.j256.ormlite.support.CompiledStatement)1