You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: providers/jdbc/shedlock-provider-jdbc-template/src/main/java/net/javacrumbs/shedlock/provider/jdbctemplate/JdbcTemplateLockProvider.java
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -111,6 +111,9 @@ public static final class Configuration {
111
111
this.timeZone = timeZone;
112
112
this.columnNames = requireNonNull(columnNames, "columnNames can not be null");
113
113
this.lockedByValue = requireNonNull(lockedByValue, "lockedByValue can not be null");
114
+
if (useServerTime && timeZone != null) {
115
+
thrownewIllegalArgumentException("Can not set both serverTime and timeZone");
Copy file name to clipboardExpand all lines: providers/jdbc/shedlock-provider-jdbc-template/src/main/java/net/javacrumbs/shedlock/provider/jdbctemplate/SqlStatementsSource.java
0 commit comments