RE : Re: Reuse of statement in an other statement

2009-07-10 Thread Régis BRULEY
Hi, Test that's help. I saw this include. But can i pass a parameter in it ? It seems note working... Thanks again Régis Le 10 juil. 2009, 6:09 PM, Michael McCurrey mmccur...@gmail.com a écrit : You can, but not directly in how you have it. IBatis includes a feature called fragements. In

Re: RE : Re: Reuse of statement in an other statement

2009-07-10 Thread Michael McCurrey
You can't have your statement pass a dynamic parameter to that; however, you can 'catch' statement parameters in your sql fragment. For example: sql id=Fragment insert into MySuperTable(Column1) values(#MyVariable,type=String,dbType=VarChar#) /sql On Fri, Jul 10, 2009 at 9:57 AM,

RE : Re: RE : Re: Reuse of statement in an other statement

2009-07-10 Thread Régis BRULEY
Ok thanks a lot ! I'll try it right on my return on my computer. have a nice week End. Bye Régis Le 10 juil. 2009, 7:07 PM, Michael McCurrey mmccur...@gmail.com a écrit : You can't have your statement pass a dynamic parameter to that; however, you can 'catch' statement parameters in your sql