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 your map file, put your *core* sql in a statement such as <sql id="Fragment"> insert something </sql> Then down in your real insert statement reference it as such: <insert id="test"> <include refid="Fragment"></include> </insert> Does this help? On Fri, Jul 10, 2009 at 8:19 AM, Régis BRULEY <re...@bruley.org> wrote: > > Hi, > > It's my first... -- Michael J. McCurrey Read with me at http://www.mccurrey.com http://chaoticmindramblings.blogspot.com/