com.j256.ormlite.stmt
Interface PreparedStmt<T>

All Superinterfaces:
GenericRowMapper<T>
All Known Subinterfaces:
PreparedDelete<T>, PreparedQuery<T>, PreparedUpdate<T>
All Known Implementing Classes:
MappedPreparedStmt

public interface PreparedStmt<T>
extends GenericRowMapper<T>

Parent interface for the PreparedQuery, PreparedUpdate, and PreparedDelete interfaces.


Method Summary
 CompiledStatement compile(DatabaseConnection databaseConnection)
          Create and return the associated compiled statement.
 String getStatement()
          Return the associated SQL statement string for logging purposes.
 
Methods inherited from interface com.j256.ormlite.stmt.GenericRowMapper
mapRow
 

Method Detail

compile

CompiledStatement compile(DatabaseConnection databaseConnection)
                          throws SQLException
Create and return the associated compiled statement.

Throws:
SQLException

getStatement

String getStatement()
                    throws SQLException
Return the associated SQL statement string for logging purposes.

Throws:
SQLException


Copyright © 2011. All Rights Reserved.