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
logger.info(String,format("Target entity does not have attribute named %s",colName));
156
+
}
157
+
}
158
+
resultList.add(obj);
159
+
});
160
+
return resultList;
161
+
// END USER CODE
162
+
}
163
+
```
135
164
136
165
The result is a generic OQL action that you can use in your microflows as follows:
137
166
@@ -167,16 +196,45 @@ The Java implementation below implements the following steps:
167
196
168
197
* Use *Core.dataStorage().executeWithConnection()* to execute some Java statements that receive a JDBC connection from the internal connection pool. This API is constructed to enable the Mendix Platform to guarantee that connections are returned to the pool after usage.
You can find the complete Java source code on GitHub: [RetrieveAdvancedSQL](https://github.com/ako/QueryApiBlogPost/blob/master/javasource/hr/actions/RetrieveAdvancedSql.java).
0 commit comments