This content has been marked as final.
Show 3 replies
-
1. Re: Stuck with unit testing, JBoss embedded
matt.nirgue Oct 21, 2008 7:21 PM (in response to evdelst)Well it seems like it can't find the datasource so I guess the first question to ask is: did you defined your datasource in the configuration file (/bootstrap/deploy/yourfile-ds.xml)?
-
2. Re: Stuck with unit testing, JBoss embedded
evdelst Oct 21, 2008 8:27 PM (in response to evdelst)Argh!
I did, but i had this in my datasource (maybe it helps someone else in the future :-)
<metadata> <type-mapping>mySQL</type-mapping> </metadata> </local-tx-datasource> </datasources>
Removing the <metata> element makes it work!
Thanks for the directions!
-
3. Re: Stuck with unit testing, JBoss embedded
luizruiz Dec 15, 2010 3:44 PM (in response to evdelst)Thank you, Edwin! It helps me. :)