When I view the documentation, section 3.3 JDBC Connections, Table 3.1. Hibernate JDBC Properties lists an example as the connection URL and I don't see the timezone required..... Can you please elaborate why that error would be occurring?
This parameter isn't something that Hibernate mandates, its something very specific to MySQL. In fact most of the googling I did suggests that the later JDBC drivers for MySQL seem to expect this for various reasons when interpreting dates. The common theme I saw was using version 5.1.x of the MySQL JDBC driver fixed the problem. So it would seem this has nothing to do with Hibernate but the JDBC driver you're using to communicate with MySQL or your MySQL configuration. |