Add an annotation to toggle the 'escapeProcessing' feature
----------------------------------------------------------

                 Key: MSQL-31
                 URL: http://jira.codehaus.org/browse/MSQL-31
             Project: Maven 2.x SQL Plugin
          Issue Type: Improvement
    Affects Versions: 1.0
         Environment: Oracle 10g
            Reporter: Don Deasey
         Attachments: added_an_annotation_for_the_escapeProcessing_flag.patch

When creating Java stored procs with the plugin, the escapeProcessing option 
needs to be false.  This should be a configuration parameter in the pom.xml.


Code is already in place to do this in the 1.3 release except no annotation was 
specified in the declaration.

I added this to the SqlExecMojo class....patch file attached.


    /**
     * If you want the driver to use regular SQL syntax then set this to false.
     *
     * @since 1.4
     * @parameter expression="${escapeProcessing}" default-value="true"
     */
    private boolean escapeProcessing = true;

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to