We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69b8688 commit 48c076bCopy full SHA for 48c076b
1 file changed
jpa/helloworld/hibernate/JPAWithHibernate5/src/main/resources/META-INF/persistence.xml
@@ -12,7 +12,7 @@
12
<properties>
13
<!-- The JDBC URL to the database instance -->
14
<property name="javax.persistence.jdbc.url"
15
- value="jdbc:mysql://localhost:3306/javahelps?useSSL=false" />
+ value="jdbc:mysql://localhost:3306/javahelps?useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC" />
16
17
<!-- The database username -->
18
<property name="javax.persistence.jdbc.user" value="root" />
0 commit comments