[JBoss JIRA] (ARQ-1360) Persistence extension doesn't handle certain special characters.
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1360?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen closed ARQ-1360.
------------------------------
> Persistence extension doesn't handle certain special characters.
> ----------------------------------------------------------------
>
> Key: ARQ-1360
> URL: https://issues.jboss.org/browse/ARQ-1360
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Persistence
> Affects Versions: persistence_1.0.0.Alpha6
> Reporter: John Ament
> Assignee: Bartosz Majsak
> Fix For: persistence_1.0.0.Alpha7
>
>
> The persistence extension seems to choke when sql scripts (.sql files) contain certain characters.
> 1. If I put "©" in my statement it treats the ; as a terminator.
> 2. If I put a new line in my file, it treats that as a terminator.
> 3. If I put a / (e.g. </some-tag> from xml) in my SQL, it gets very confused.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month
[JBoss JIRA] (ARQ-1352) Script can not insert unix path separator '/' into the DB
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1352?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen closed ARQ-1352.
------------------------------
> Script can not insert unix path separator '/' into the DB
> ---------------------------------------------------------
>
> Key: ARQ-1352
> URL: https://issues.jboss.org/browse/ARQ-1352
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Persistence
> Affects Versions: persistence_1.0.0.Alpha6
> Reporter: Sandor Bodo-Merle
> Assignee: Sandor Bodo-Merle
> Fix For: persistence_1.0.0.Alpha7
>
> Attachments: 0001-ScriptExecutor-fix-commit-parsing.patch
>
>
> I have a test class which try to insert a unix path value in the DB on schema creation:
> @CreateSchema({"setup.sql"})
> public class UserTest {
> ...
> }
> Th the ScriptExecutor introduced in 1.0.0.Alpha6 will iron out the '/' character from the path on insert - like in the following small example:
> public class main {
> public static void main(String[] args) {
> final String ANSI_SQL_COMMENTS_PATTERN = "--.*|//.*|(?s)/\\\\*.*?\\\\*/|(?s)\\{.*?\\}";
> String script = "INSERT INTO config (name, value) VALUES ('path', '/home/sbodo/test.txt');";
> System.out.println(script.replaceAll(ANSI_SQL_COMMENTS_PATTERN, ""));
> }
> }
> Output is:
> INSERT INTO config (name, value) VALUES ('path', 'sbodo/test.txt');
> instead of:
> INSERT INTO config (name, value) VALUES ('path', '/home/sbodo/test.txt');
> Tested with Jboss 7.1.1 and Postgres 9.1.
> The test worked fine in 1.0.0.Alpha5.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month
[JBoss JIRA] (ARQ-1572) Marry Persistence and JRebel extensions
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1572?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen closed ARQ-1572.
------------------------------
> Marry Persistence and JRebel extensions
> ---------------------------------------
>
> Key: ARQ-1572
> URL: https://issues.jboss.org/browse/ARQ-1572
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Extension - Persistence
> Affects Versions: persistence_1.0.0.Alpha6
> Reporter: Bernard Labno
> Assignee: Bartosz Majsak
> Fix For: persistence_1.0.0.Alpha7
>
>
> JRebel extension currently does not pick up changes in datasets.
> Here is how it works:
> If there is no target/jrebel-temp/.../*.meta file for given deployment then it assumes user wants full redeploy. If such file is present then deployment is blocked and tests are run at once.
> JRebel extension also checks if there is a rebel.xml file in the archive. If not then it generates such file based on exact content of the archive and explodes archive into target/jrebel-temp/*.
> Now the problem is that if resource is not in the archive then it will not be included in generated rebel.xml and thus won't be picked up by JRebel.
> Datasets are now automatically packed inside WEB-INF/lib/randomUUID.jar. JRebel will not substitute resources or classes from bundled libs. We could generate additional rebel.xml for that but I'd have to know what is the name of such archive and we would tightly couple both extensions.
> It would be easiest if Persistence ext would pack datasets directly into WE-INF/classes.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month
[JBoss JIRA] (ARQ-1309) Persistence extension does not work with Jacoco extension
by Aslak Knutsen (JIRA)
[ https://issues.jboss.org/browse/ARQ-1309?page=com.atlassian.jira.plugin.s... ]
Aslak Knutsen closed ARQ-1309.
------------------------------
> Persistence extension does not work with Jacoco extension
> ---------------------------------------------------------
>
> Key: ARQ-1309
> URL: https://issues.jboss.org/browse/ARQ-1309
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Extension - Persistence
> Affects Versions: 1.0.0.Alpha5
> Reporter: Peter Schonhofen
> Assignee: Bartosz Majsak
> Fix For: persistence_1.0.0.Alpha7
>
>
> When the Jacoco and persistence extension is used together in a project, a "PersistenceExtensionInitializationException: Unable to create persistence configuration" is thrown.
> The cause of the exception is that in the ConfigurationImporter class the createConfiguration method receives a fieldsWithValues map with a "$jacocoData" item in it. Because the method cannot process this item, it fails.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month