That sounds cool. We have discussed various scripting alternatives
for Dynamic SQL, including Velocity, JSTL (commons EL) and even things
like Groovy.
No decisions have been made yet.
Cheers,
Clinton
On Fri, 26 Nov 2004 14:51:52 +0200, Aliaksandr Radzivanovich
<[EMAIL PROTECTED]> wrote:
> Hello Clinton and everybody.
>
> I'm not sure if this is a new idea, but...
> Have anybody considered usage of expression languages (like OGNL or
> JXPath) with SQL Maps framework?
> Take for example the following piece of code:
>
> <insert ...>
> INSERT INTO Customer (Co1, Col2, Col3, ...)
> VALUES (${cutomer.prop1}, ${cutomer.prop2 + 1},
> ${cutomer.prop3.trim()}, ...)
>
> or
>
> <parameterMap id="companyParam" class="company">
> <parameter property="${someexpression}"/>
>
> OGNL seems to be quite powerful EL. In my opinion it would be a good
> addition to the framework. However, it's just a suggestion. After all,
> I'm not an expert in OGNL.
>
> What do you people think about this idea?
>
>