[
https://issues.jboss.org/browse/ARQ-1444?page=com.atlassian.jira.plugin.s...
]
Michel Graciano commented on ARQ-1444:
--------------------------------------
Rafael,
there is a gotcha here. Try add the property sqlDialect at your arquillian.xml as follow:
{code:xml}
<extension qualifier="persistence-script">
<property name="sqlDialect">oracle</property>
</extension>
{code}
The defualt delimiter is already ; so it is not necessary to define it. I solved a similar
issue doing this in my tests.
Oracle does not support query delimiter inside statements
---------------------------------------------------------
Key: ARQ-1444
URL:
https://issues.jboss.org/browse/ARQ-1444
Project: Arquillian
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: Extension - Persistence
Affects Versions: persistence_1.0.0.Alpha6
Environment: Oracle Database.
Reporter: Michel Graciano
Assignee: Bartosz Majsak
Fix For: persistence_1.0.0.Alpha7
When we try to use @ApplyScriptBefore and the script file has more than one statement, we
use ; as delimiter. The problem is that the delimiter is not removed from the statement
before run it, so Oracle database return the following exception:
Caused by: java.sql.SQLSyntaxErrorException: ORA-00911: invalid character
--
This message was sent by Atlassian JIRA
(v6.2.6#6264)