RE: Possible to return ibatis query in xml file?

2009-03-04 Thread Martin Gainty
; Date: Wed, 4 Mar 2009 23:14:16 -0200 > Subject: Re: Possible to return ibatis query in xml file? > From: hgonza...@gmail.com > To: user@struts.apache.org > > If I understand right, the answer is no (and the question is not > related to struts, but only to ibatis). > You can

Re: Possible to return ibatis query in xml file?

2009-03-04 Thread hernan gonzalez
If I understand right, the answer is no (and the question is not related to struts, but only to ibatis). You can't get (AFAIK) the sql generated/executed by ibatis, and there are good reasons for that. If you are debugging some sql problem, your database should allow you to turn on full logging of

Possible to return ibatis query in xml file?

2009-03-04 Thread Emi Lu
Good morning, I have a question based on ibatis + struts. Would it be possible that in java code, I could get the query in ibatis. For example, in ibatis_query.xml select * from a In java, === public ActionForward execute( ActionMapping mapping, ActionForm aform,