This is a read-only copy of the MariaDB Knowledgebase generated on 2024-11-16. For the latest, interactive version please visit https://mariadb.com/kb/.

Hibernate & MariaDB

Hello,

what settings do I need in a Hibernate (/Spring) configuration file (XML) for MariaDB? The same as in MySQL? Which URL, JDBC driver and Hibernate dialect I have to use?

Thanks in advance!
Greetings: Anke

Answer Answered by Bryan Alsdorf in this comment.

You should use the exact same settings that you would for MySQL since MariaDB is 100% compatible.

You can find an article about MySQL and Hibernate here: http://www.javabeat.net/tips/112-configure-mysql-database-with-hibernate-mappi.html

Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.