Thanks Meindert. One more question - Is it possible to have a global include ?
My sql-maps are separated into 3 xml files, each with its own namespace. <sqlMap namespace="A"> <sqlMap namespace="B"> <sqlMap namespace="C"> Now, I have a common <sql> fragment that I would like to use in each of them. Is there a way to separate this fragment, and include it in each of my maps ? Thanks, Kunle. Kunle Gbadamosi wrote: > > Hi there, > > I have a situation where I need to dynamically determine my prepend value > (which could be AND or OR). > > Here's a quick sample - > > <dynamic open="(" close=")"> > <isNotEmpty property="A" prepend="$logicOperator$">A = #A#</isNotEmpty> > <isNotEmpty property="B" prepend="$logicOperator$">B = #B#</isNotEmpty> > </dynamic> > > > Looking at the snippet, I want to pass the value of the prepend using > $logicOperator$. And I want the first Prepend to be removed. Is there a > way I can I go about this ? > > Thanks, > Kunle > -- View this message in context: http://www.nabble.com/Dynamic-%28Evaluated%29-Prepend-tp25285320p25311765.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-java-unsubscr...@ibatis.apache.org For additional commands, e-mail: user-java-h...@ibatis.apache.org