Niels Beekman wrote:
Hi,

Did you try the following:

<sql id="someStatement">blah</sql>
<include refid="someStatement"/>

This is not documented, but it works fine for me...

Niels

Hey this is great, thanks Niels.

Huy

-----Original Message-----
From: Huy [mailto:[EMAIL PROTECTED] Sent: donderdag 26 mei 2005 13:03
To: [email protected]
Subject: Re: [HELP] I can't not type < sign in my sqlmap xml file

Ron Grabowski wrote:

Huy, could you give an example additional functionality that another
templating engine would provide? Someone (Brandon?) asked a question a
few weeks ago about what other dynamic sql tags people would like to
see. I don't think anyone ever responded. I couldn't think of any
additional tags myself.




Not really. The only thing I would find useful would be some sort of sql

block/fragment tag so I can reuse my sql in multiple select tags. I have

these long joins and where conditions which I write repeatedly with minor changes. I don't know though. It could turn into a mess as Brandon

said earlier.

Huy





Reply via email to