문제

Well, the title says almost everything, how can I define a jdbc-connection in an embedded glassfish to be able to use a MySQL database as a jdbc resource??

Thanks for your replies!

도움이 되었습니까?

해결책

I got it working, it was simpler than I thought!

I've used a jdbc I had configured with an installed glassfish and copied the configuration from domain.xml.

For the embedded glassfish to be able to use MySql driver, I just put the dependency in maven...

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top