diff --git a/components/data/data-services/org.wso2.micro.integrator.dataservices.core/src/main/java/org/wso2/micro/integrator/dataservices/core/description/query/SQLQuery.java b/components/data/data-services/org.wso2.micro.integrator.dataservices.core/src/main/java/org/wso2/micro/integrator/dataservices/core/description/query/SQLQuery.java index c5c0f0c2d2..2920715f16 100644 --- a/components/data/data-services/org.wso2.micro.integrator.dataservices.core/src/main/java/org/wso2/micro/integrator/dataservices/core/description/query/SQLQuery.java +++ b/components/data/data-services/org.wso2.micro.integrator.dataservices.core/src/main/java/org/wso2/micro/integrator/dataservices/core/description/query/SQLQuery.java @@ -151,7 +151,7 @@ public class SQLQuery extends ExpressionQuery implements BatchRequestParticipant private boolean timeConvertEnabled = true; - private static QueryType sqlQueryType; + private QueryType sqlQueryType; /** * thread local variable to keep the ordinal of the ref cursor if there is any @@ -2571,7 +2571,7 @@ public QueryType setSqlQueryType(String query) { return sqlQueryType = sqlQueryType(query); } - public static QueryType sqlQueryType(String sqlQuery) { + public QueryType sqlQueryType(String sqlQuery) { String query; try {