Skip to content

Commit

Permalink
Merge pull request #3394 from ebean-orm/fix/3393
Browse files Browse the repository at this point in the history
#3393 Fix for 12.x to support "NoTimeZone" to bypass MySQL JDBC use of Timezone Calendar
  • Loading branch information
rbygrave authored Apr 17, 2024
2 parents 63336ba + 6e163b9 commit f490116
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,9 @@ private TransactionScopeManager createTransactionScopeManager() {
*/
private DataTimeZone initDataTimeZone() {
String tz = config.getDataTimeZone();
if ("NoTimeZone".equals(tz)) {
return new NoDataTimeZone();
}
if (tz == null) {
if (isMySql(getPlatform())) {
return new MySqlDataTimeZone();
Expand Down

0 comments on commit f490116

Please sign in to comment.