HHH-12815 Remove the zeroDateTimeBehavior option

It's useless for this test and it causes compatibility issues.
This commit is contained in:
Guillaume Smet 2018-07-19 13:26:52 +02:00
parent b84d364cd2
commit 7174b03a25
1 changed files with 1 additions and 7 deletions

View File

@ -47,13 +47,7 @@ public class LocalDateCustomSessionLevelTimeZoneTest
url += "&";
}
String zeroDateTimeBehavior = "convertToNull";
if ( Dialect.getDialect() instanceof MySQL8Dialect ) {
zeroDateTimeBehavior = "CONVERT_TO_NULL";
}
url += "zeroDateTimeBehavior=" + zeroDateTimeBehavior + "&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Europe/Berlin";
url += "useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Europe/Berlin";
configurationValues.put( AvailableSettings.URL, url);
super.configure( configurationValues );