[arquillian-issues] [JBoss JIRA] (ARQ-1887) SQL scripts and ANSI_SQL_COMMENTS_PATTERN - unable to insert URL
Arkadiusz Gasiński (JIRA)
issues at jboss.org
Fri Dec 5 10:36:40 EST 2014
[ https://issues.jboss.org/browse/ARQ-1887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13025581#comment-13025581 ]
Arkadiusz Gasiński commented on ARQ-1887:
-----------------------------------------
Well, sure, I'd be happy to help with the fix, but you need to tell me first what's the procedure in such situation?
Shall I make a pull request or maybe post the solution as comment and you would incorporate it?
What about the tests?
Thanks!
> SQL scripts and ANSI_SQL_COMMENTS_PATTERN - unable to insert URL
> ----------------------------------------------------------------
>
> Key: ARQ-1887
> URL: https://issues.jboss.org/browse/ARQ-1887
> Project: Arquillian
> Issue Type: Feature Request
> Components: Extension - Persistence
> Affects Versions: persistence_1.0.0.Alpha7
> Reporter: Arkadiusz Gasiński
> Assignee: Bartosz Majsak
>
> Unable to insert URLs using @ApplyScriptBefore - example below.
> {code:title=sample.sql|borderStyle=solid}
> INSERT INTO CONFIG(NAME, MODULE, VALUE) VALUES('core.url', 'isep-core-tck', 'http://localhost:41080/BusinessLogicVersioningTest/api/v1');
> {code}
> Setting showSql to true in persistence-script extension configuration in arquillian.xml produces the following output:
> {code:title=output.log|borderStyle=solid}
> INSERT INTO CONFIG(NAME, MODULE, VALUE) VALUES('core.url', 'isep-core-tck', 'http:
> {code}
> The double slash (//) after the protocol is treated as a comment and thus the rest of the statement is ignored.
> Shouldn't the // character sequence be treated as a comment only if it's placed at the beginning of a line?
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)
More information about the arquillian-issues
mailing list