Adding possibility to pass properties to SQL fragments via XML attributes

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Adding possibility to pass properties to SQL fragments via XML attributes

Martin Basovník
Hi,

what do you think about adding possibility to pass properties to SQL fragments via XML attributes to improved readability of oneliners?

Current syntax:
<include refid="fragment"><property name="key" value="value"></property></include>

Suggested syntax:
<include refid="fragment" prop-key="value"/>

What do you think?

Martin

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit https://groups.google.com/d/optout.