Salve gente,
uso Struts con Ibatis con una struttura delegate.
Per eseguire una query un metodo contenente questo codice..

Map<String, Object> map = new HashMap<String, Object>();
map.put("nomePKRuolo", nomePKRuolo);
map.put( "valorePKRuolo", valorePKRuolo);

List <AslTO> t = new ArrayList<AslTO>();
//int recordCount = (Integer)sqlMapClient.queryForObject( "asl.searchAslWithOrderCount", map );

//Integer recordCount = listCount.get(0);
//t.setRecordsNumber(recordCount);
//if( recordCount > 0 ){
t= sqlMapClient.queryForList( "asl.searchAslWithOrder", map) ;
//}
return t;

Nel file asl.xml le query vengono costruite in base ai valori che passo nella mappa.
C'è un modo per sapere la query eseguita?

Grazie