<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
        "-//Hibernate/Hibernate Configuration DTD//EN"
        "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory>
        <property name="connection.url">jdbc:mysql://localhost:3306/sotorrent19_09?useTimezone=true&amp;serverTimezone=UTC&amp;useLegacyDatetimeCode=false</property>
        <property name="connection.username">sotorrent</property>
        <property name="connection.password">4ar7JKS2mfgGHiDA</property>
        <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
        <property name="org.hibernate.flushMode">MANUAL</property>
        <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
        <property name="hibernate.jdbc.time_zone">UTC</property>
    </session-factory>
</hibernate-configuration>

<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE hibernate-configuration PUBLIC
        "-//Hibernate/Hibernate Configuration DTD//EN"
        "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
    <session-factory>
        <property name="connection.url">jdbc:mysql://localhost:3306/sotorrent19_12?useTimezone=true&amp;serverTimezone=UTC&amp;useLegacyDatetimeCode=false</property>
        <property name="connection.username">sotorrent</property>
        <property name="connection.password">4ar7JKS2mfgGHiDA</property>
        <property name="connection.driver_class">com.mysql.jdbc.Driver</property>
        <property name="org.hibernate.flushMode">MANUAL</property>
        <property name="hibernate.dialect">org.hibernate.dialect.MySQLDialect</property>
        <property name="hibernate.jdbc.time_zone">UTC</property>
    </session-factory>
</hibernate-configuration>

Update hibernate config to new version
Update hibernate config to new version
