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!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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…