ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Beemsterboer Software <h...@beemsterboer-software.nl>
Subject Re: get the statement
Date Thu, 09 Mar 2006 19:43:32 GMT
Get the iBatis source and look inside the kitchen for the following class:

com\ibatis\sqlmap\engine\execution\SqlExecutor

As its name suggests, this class executes sql statements, e.g.:

  public void executeQuery(RequestScope request, Connection conn, String 
sql, Object[] parameters,
                           int skipResults, int maxResults, 
RowHandlerCallback callback)
      throws SQLException

You can use this class to cook up your own version.

Greetings,
Hans.

Lurtz Ugluk wrote:
>  How Can I get the sql statement that de iBatis
> execute?
> I need the sql statement at runtime to create a
> String and save it.
>  
>  Thanks.
>
>   


Mime
View raw message