net.sf.saffron.oj.stmt
Interface PreparedResult

All Known Implementing Classes:
PreparedExecution, PreparedExplanation

public interface PreparedResult

PreparedResult represents the result of a call to Statement.prepareSql.

Version:
$Id: //open/saffron/src/net/sf/saffron/oj/stmt/PreparedResult.java#2 $
Author:
John V. Sichi

Method Summary
 Object execute()
          Execute the prepared result.
 String getCode()
           
 boolean isDml()
           
 

Method Detail

getCode

public String getCode()
Returns:
the code generated by preparation

isDml

public boolean isDml()
Returns:
true iff this result is for a DML statement, in which case the result set is one row with one column containing the number of rows affected.

execute

public Object execute()
Execute the prepared result.

Returns:
producer of rows resulting from execution

SourceForge.net_Logo