No error when theres a typo in OQL parameter names?
0
Both the docs and my tests show that when you call IParameterMap.put() with a wrong name no error is thrown. This is a source of mistakes that are hard to find. Is there a way to validate the names with my own java code? request = Core.createOQLTextGetRequest(); request.setQuery("select cast(ID as LONG) as X from System.TimeZone WHERE ID = $TestParam"); IParameterMap parameterMap = request.createParameterMap(); parameterMap.put("TestParam2", 0L); request.setParameters(parameterMap); logger.info(Core.retrieveOQLDataTable(context, request).getRows().size()); _ The code above will retrieve 500+ TimeZone objects despite the WHERE clause because "TestParam" wasn't provided.