开发者

Use Glassfish embedded with MySQL

开发者_运维知识库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...

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜