]
Bartosz Majsak commented on ARQ-1887:
-------------------------------------
Please go ahead with dedicated issue. Would you be interested in contributing the fix for
this issue or the other one? It's rather straightforward and you can count on my full
support :)
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?