[arquillian-issues] [JBoss JIRA] (ARQ-1800) SQL scripts are loaded with the default charset

Nicklas Karlsson (JIRA) issues at jboss.org
Thu Jun 14 03:26:00 EDT 2018


    [ https://issues.jboss.org/browse/ARQ-1800?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13591269#comment-13591269 ] 

Nicklas Karlsson commented on ARQ-1800:
---------------------------------------

Apparently the fix is still unreleased? Is there some workaround for this since I can't find *any* encoding that would work for my cleanup script. I have åäö in the tables and no matter if I use UTF-8, ISO-8859-1 etc the table names get garbled :-/ It's probably not the JDBC connection since DBUnit seeds the tables just fine, it's just the scripts (which I have to use since the DBUnit can never clean up stuff correctly due to foreign keys)

> SQL scripts are loaded with the default charset
> -----------------------------------------------
>
>                 Key: ARQ-1800
>                 URL: https://issues.jboss.org/browse/ARQ-1800
>             Project: Arquillian
>          Issue Type: Feature Request
>          Components: Extension - Persistence
>    Affects Versions: persistence_1.0.0.Alpha7
>            Reporter: jean-françois Lefebvre
>            Assignee: Bartosz Majsak
>             Fix For: persistence_1.0.0.next
>
>
> SQLSripts are loaded with the default plateform charset.
> Could you please add a property like this :
> <extension qualifier="persistence">
>         <property name="defaultEncoding">XXX</property>
>     </extension>
> to set the default scripts encoding.
> see org.jboss.arquillian.persistence.script.ScriptLoader 
> reader = new BufferedReader(new InputStreamReader(inputStream));



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the arquillian-issues mailing list