[ 
https://jira.codehaus.org/browse/MSQL-42?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Scholte closed MSQL-42.
------------------------------

    Resolution: Not A Bug
      Assignee: Robert Scholte

It is definitely not a bug of the sql-maven-plugin, because it doesn't 
translate question marks to binding variables. There's actually only one 
question mark in the source code right now and this is even javadoc.
So it seems like the Oracle driver does some magic.
I found an article on how to handle XML content in queries:
http://psoug.org/reference/xml_functions.html

Enough reason for me to close this issue.

> Replacing question marks in stored procedure scripts by bind variable symbols 
> (e.g :1, :2 etc)
> ----------------------------------------------------------------------------------------------
>
>                 Key: MSQL-42
>                 URL: https://jira.codehaus.org/browse/MSQL-42
>             Project: Maven 2.x SQL Plugin
>          Issue Type: Bug
>    Affects Versions: 1.3
>         Environment: Oracle9i Release 9.2.0.8.0 
> Apache Maven 2.2.1 (r801777; 2009-08-06 23:16:01+0400)
> Java version: 1.6.0_05
> Java home: C:\work\Java\jdk1.6.0_05\jre
> Default locale: ru_RU, platform encoding: Cp1251
> OS name: "windows xp" version: "5.1" arch: "x86" Family: "windows"
>            Reporter: Nikolay Kushin
>            Assignee: Robert Scholte
>
> When I try to build a project database packeges contain bind variable symbols 
> inside string literals.
> Example: '<?xml version="1.0" encoding="utf-8" ?>' replaced by '<:1xml 
> version="1.0" encoding="utf-8" :2>'

--
This message is automatically generated by JIRA.
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