Browse Source

mysql version up

tobby48 4 years ago
parent
commit
203e292ea7
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      resources/hibernate.cfg.xml

+ 2
- 2
resources/hibernate.cfg.xml View File

@@ -3,9 +3,9 @@
3 3
                                          "http://www.hibernate.org/dtd/hibernate-configuration-3.0.dtd">
4 4
 <hibernate-configuration>
5 5
 	<session-factory name="">
6
-		<property name="hibernate.connection.driver_class">com.mysql.jdbc.Driver</property>
6
+		<property name="hibernate.connection.driver_class">com.mysql.cj.jdbc.Driver</property>
7 7
 		<property name="hibernate.connection.password">swhacademy!</property>
8
-		<property name="hibernate.connection.url">jdbc:mysql://192.168.0.41:3306/market</property>
8
+		<property name="hibernate.connection.url">jdbc:mysql://192.168.0.41:3306/market?serverTimezone=UTC</property>
9 9
 		<property name="hibernate.connection.username">root</property>
10 10
 		<property name="hibernate.dialect">org.hibernate.dialect.MariaDB53Dialect</property>
11 11