[
https://issues.jboss.org/browse/WFLY-6099?page=com.atlassian.jira.plugin....
]
Scott Marlow commented on WFLY-6099:
------------------------------------
Try the following:
{quote}
<data-source>
<name>java:jboss/datasources/TestDS</name>
<class-name>org.mariadb.jdbc.MariaDbDataSource</class-name>
<url>jdbc:mariadb://mariadbvm:3306/test_db</url>
<user>root</user>
<password>123</password>
</data-source>
{quote}
You could also use the org.mariadb.jdbc.MySQLDataSource class if you prefer.
JPA's persistence.xml is deployed before datasources are created
through application.xml
----------------------------------------------------------------------------------------
Key: WFLY-6099
URL:
https://issues.jboss.org/browse/WFLY-6099
Project: WildFly
Issue Type: Bug
Components: JPA / Hibernate
Affects Versions: 10.0.0.Final
Reporter: Renann Prado
Assignee: Scott Marlow
Attachments: server_with_mysql_driver.log
Please refer to discussion
https://developer.jboss.org/thread/267371
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)