diff --git a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java index 6251df27634c..8f05ee88e6b1 100644 --- a/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java +++ b/components/apimgt/org.wso2.carbon.apimgt.impl/src/main/java/org/wso2/carbon/apimgt/impl/dao/ApiMgtDAO.java @@ -14839,7 +14839,7 @@ public String deleteLLMProvider(String organization, String llmProviderId, boole connection.prepareStatement(SQLConstants.DELETE_LLM_PROVIDER_SQL)) { prepStmt.setString(1, organization); prepStmt.setString(2, llmProviderId); - prepStmt.setBoolean(3, builtIn); + prepStmt.setString(3, Boolean.toString(builtIn)); prepStmt.executeUpdate(); connection.commit(); return llmProviderId;