<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE hibernate-configuration SYSTEM
        "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">

<hibernate-configuration>
    <session-factory>
        <property name="hibernate.dialect">
            org.hibernate.dialect.MySQLDialect
        </property>
        <property name="hibernate.connection.driver_class">
            org.mariadb.jdbc.Driver
        </property>

        <!-- Assume test is the database name -->
        <property name="hibernate.connection.url">
            jdbc:mariadb://192.168.0.123:3306/book
        </property>
        <property name="hibernate.connection.username">
            root
        </property>
        <property name="hibernate.connection.password">
            test000000
        </property>
        <property name="hibernate.show_sql">true</property>
       <!--  <property name="hbm2ddl.auto">update</property> -->


        <!-- <mapping resource="mappings/hrdb.hbm.xml"></mapping> -->

    </session-factory>
</hibernate-configuration>