{"action":"created","issue":{"url":"https://api.github.com/repos/arquillian/arquillian-extension-persistence/issues/47","repository_url":"https://api.github.com/repos/arquillian/arquillian-extension-persistence","labels_url":"https://api.github.com/repos/arquillian/arquillian-extension-persistence/issues/47/labels{/name}","comments_url":"https://api.github.com/repos/arquillian/arquillian-extension-persistence/issues/47/comments","events_url":"https://api.github.com/repos/arquillian/arquillian-extension-persistence/issues/47/events","html_url":"https://github.com/arquillian/arquillian-extension-persistence/pull/47","id":154621554,"number":47,"title":"Adds support for scriptable datasets via Java scripting api (JSR 233)","user":{"login":"rmpestano","id":1592273,"avatar_url":"https://avatars.githubusercontent.com/u/1592273?v=3","gravatar_id":"","url":"https://api.github.com/users/rmpestano","html_url":"https://github.com/rmpestano","followers_url":"https://api.github.com/users/rmpestano/followers","following_url":"https://api.github.com/users/rmpestano/following{/other_user}","gists_url":"https://api.github.com/users/rmpestano/gists{/gist_id}","starred_url":"https://api.github.com/users/rmpestano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rmpestano/subscriptions","organizations_url":"https://api.github.com/users/rmpestano/orgs","repos_url":"https://api.github.com/users/rmpestano/repos","events_url":"https://api.github.com/users/rmpestano/events{/privacy}","received_events_url":"https://api.github.com/users/rmpestano/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"bartoszmajsak","id":719616,"avatar_url":"https://avatars.githubusercontent.com/u/719616?v=3","gravatar_id":"","url":"https://api.github.com/users/bartoszmajsak","html_url":"https://github.com/bartoszmajsak","followers_url":"https://api.github.com/users/bartoszmajsak/followers","following_url":"https://api.github.com/users/bartoszmajsak/following{/other_user}","gists_url":"https://api.github.com/users/bartoszmajsak/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszmajsak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszmajsak/subscriptions","organizations_url":"https://api.github.com/users/bartoszmajsak/orgs","repos_url":"https://api.github.com/users/bartoszmajsak/repos","events_url":"https://api.github.com/users/bartoszmajsak/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszmajsak/received_events","type":"User","site_admin":false},"milestone":null,"comments":7,"created_at":"2016-05-13T02:32:51Z","updated_at":"2016-06-08T06:52:13Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/arquillian/arquillian-extension-persistence/pulls/47","html_url":"https://github.com/arquillian/arquillian-extension-persistence/pull/47","diff_url":"https://github.com/arquillian/arquillian-extension-persistence/pull/47.diff","patch_url":"https://github.com/arquillian/arquillian-extension-persistence/pull/47.patch"},"body":"refs #18 \r\n\r\nThere is a **limitation** for the Javascript engine which is bundled with the jdk. It is working on some cases (Wildfly jdk 7) but failing on others (jboss as) with the following error:\r\n\r\n```\r\nScriptEngineManager providers.next(): javax.script.ScriptEngineFactory: Provider \r\ncom.sun.script.javascript.RhinoScriptEngineFactory not found\r\n```\r\nThe error is thrown on a variety of cases like JDK version (on jdk8 engine was changed from rhino to Nashorn) and server version and is pretty uninstallable.\r\n\r\nGroovy engine seems to  be more stable and work on all cases I've tested. Its dependency (groovy-all) is being bundle within arquillian persistence extension.\r\n\r\n\r\nThe [implementation](https://github.com/rmpestano/arquillian-extension-persistence/blob/master/dbunit/src/main/java/org/jboss/arquillian/persistence/dbunit/dataset/scriptable/ScriptableTable.java#L91) is parsing the script engine from dataset and, in theory, any script engine can be used.\r\n\r\nAlso by default this feature [is not enabled](https://github.com/rmpestano/arquillian-extension-persistence/blob/master/dbunit/src/main/java/org/jboss/arquillian/persistence/dbunit/DBUnitDataHandler.java#L101) and needs to be settled in arquillian.xml.\r\n\r\nWhat do you think? \r\n \r\n \r\n "},"comment":{"url":"https://api.github.com/repos/arquillian/arquillian-extension-persistence/issues/comments/224504427","html_url":"https://github.com/arquillian/arquillian-extension-persistence/pull/47#issuecomment-224504427","issue_url":"https://api.github.com/repos/arquillian/arquillian-extension-persistence/issues/47","id":224504427,"user":{"login":"bartoszmajsak","id":719616,"avatar_url":"https://avatars.githubusercontent.com/u/719616?v=3","gravatar_id":"","url":"https://api.github.com/users/bartoszmajsak","html_url":"https://github.com/bartoszmajsak","followers_url":"https://api.github.com/users/bartoszmajsak/followers","following_url":"https://api.github.com/users/bartoszmajsak/following{/other_user}","gists_url":"https://api.github.com/users/bartoszmajsak/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszmajsak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszmajsak/subscriptions","organizations_url":"https://api.github.com/users/bartoszmajsak/orgs","repos_url":"https://api.github.com/users/bartoszmajsak/repos","events_url":"https://api.github.com/users/bartoszmajsak/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszmajsak/received_events","type":"User","site_admin":false},"created_at":"2016-06-08T06:52:13Z","updated_at":"2016-06-08T06:52:13Z","body":"They should. Or at least used to :) But I will need to update those too, so I will check how does it behave in other envs we plan to support."}}
{"actor":{"display_login":"bartoszmajsak"}}