diff --git a/src/main/java/net/snowflake/client/core/SFBaseSession.java b/src/main/java/net/snowflake/client/core/SFBaseSession.java index 22b4e553f..a3ed040e5 100644 --- a/src/main/java/net/snowflake/client/core/SFBaseSession.java +++ b/src/main/java/net/snowflake/client/core/SFBaseSession.java @@ -700,7 +700,7 @@ public boolean getEnablePutGet() { return enablePutGet; } - public boolean putEnablePutGet(boolean enablePutGet) { + public boolean setEnablePutGet(boolean enablePutGet) { return this.enablePutGet = enablePutGet; } diff --git a/src/main/java/net/snowflake/client/core/SFSession.java b/src/main/java/net/snowflake/client/core/SFSession.java index 5537cde72..e0ddcc7a8 100644 --- a/src/main/java/net/snowflake/client/core/SFSession.java +++ b/src/main/java/net/snowflake/client/core/SFSession.java @@ -365,7 +365,7 @@ public void addSFSessionProperty(String propertyName, Object propertyValue) thro case ENABLE_PUT_GET: if (propertyValue != null) { - putEnablePutGet(getBooleanValue(propertyValue)); + setEnablePutGet(getBooleanValue(propertyValue)); } break;