4 Replies Latest reply on Feb 9, 2015 7:11 AM by Bartosz Majsak

    @ApplyScriptBefore(script.sql) does not work

    Matthias Herp Newbie

      Hallo!

       

      I want to use @ApplyScriptBefore("script.sql") but it seems to be ignored.

      If I misspell the script name, an exception is thrown: org.jboss.arquillian.persistence.exception.InvalidResourceLocation: Unable to locate Xsd_land.sql. File does not exist also in default location scripts/

       

      So I'm sure the script is used.

      script.sql:

       

       

      INSERT INTO sd_land (id,kennzeichen,name) VALUES (1,'DE','Germany');


      If the sql is misspelled, nothing happens.



      How could i enable logging for this? I want to know whats's going wrong.


      best regards,

      Matthias