| Author |
How to create jdbc resources in embedded glassfish container for tests?
|
Volodymyr Levytskyi
Ranch Hand
Joined: Mar 29, 2012
Posts: 187
|
|
Hello!
I can't anyway pass line
container = javax.ejb.embeddable.EJBContainer.createEJBContainer();
I stopped at the following exception:
I believe that I should create jdbc connection pool and jdbc resource for embedded ejb glassfish container?
Does anybody know how to create jdbc connection pool and jdbc resource for embedded ejb glassfish container?
Thank you!
|
 |
Bruno Borges
Greenhorn
Joined: Apr 10, 2013
Posts: 1
|
|
Please read my blog post about how to correctly configure the DataSource for Maven Embedded GlassFish:
https://blogs.oracle.com/brunoborges/entry/configure_datasources_for_maven_embedded
|
 |
 |
|
|
subject: How to create jdbc resources in embedded glassfish container for tests?
|
|
|