This content has been marked as final.
Show 4 replies
-
1. Re: Anyone could see that example and say why not inject the dependency? (Arquillian persistence guide)
bmajsak Oct 9, 2012 2:43 PM (in response to vinnywm)Does it work for any of these profiles?
-
2. Re: Anyone could see that example and say why not inject the dependency? (Arquillian persistence guide)
vinnywm Oct 9, 2012 3:05 PM (in response to bmajsak)Ops. Sorry, I forgot to specify. I would like run the glassfish embedded profile according with the guide. The profile is "config-arquillian-glassfish-embedded".
-
3. Re: Anyone could see that example and say why not inject the dependency? (Arquillian persistence guide)
bmajsak Oct 10, 2012 12:43 PM (in response to vinnywm)Hey,
you have a pull request with the fixes. All comments there (both in the code and some additional stuff on GitHub "Files Changed" Tab). Have fun I would also kindly ask you to give Persistence Extension a spin I'm eagerly looking for the feedback from the users.
In brief - you were missing @RunWith(Arquillian.class) + test deployment problem (two ejbs implementing the same interface)
Cheers,
Bartosz
-
4. Re: Anyone could see that example and say why not inject the dependency? (Arquillian persistence guide)
vinnywm Oct 12, 2012 11:43 PM (in response to bmajsak)Thanks a lot for help me Bartosz! I'll take a studied now in the modified code. thank you.