Onesait Platform Community edition is a free, open-source Digital Platform that anyone can download and use to build a complete solution over it. This repo contains the Cloud Side of the Platform.
The debug output of the Dynamic Query Node is:
"Error executing query. Ontology=airquality_observed_dynamicdata_hl, QueryType =SQL, Query = update airquality_observed_dynamicdata_hl set co2value = 0;. Cause = com.minsait.onesait.platform.persistence.exceptions.DBPersistenceException: java.lang.ClassCastException."
Select statements works flawful and with the query tool, i can execute the update statement without trouble, so i think, its a node-red node problem.
Hy, i want to execute a simple update statement on a virtual entity, located in a postgresdb:
msg.ontology = 'airquality_observed_dynamicdata_hl'; msg.queryType = 'SQL'; msg.query = 'update airquality_observed_dynamicdata_hl set co2value = 0;'; return msg;
The debug output of the Dynamic Query Node is:
"Error executing query. Ontology=airquality_observed_dynamicdata_hl, QueryType =SQL, Query = update airquality_observed_dynamicdata_hl set co2value = 0;. Cause = com.minsait.onesait.platform.persistence.exceptions.DBPersistenceException: java.lang.ClassCastException."
Select statements works flawful and with the query tool, i can execute the update statement without trouble, so i think, its a node-red node problem.
Schema of entity: