<div dir="auto"><div>The Autodesk Driver for oracle is not tested with mgos 4. If possible, try the same query, with the FDO, using AutoCAD Map where the FDO driver was originally installed. This will rule out if the issue is with the mgos/adsk FDO driver first</div><div dir="auto"><br></div><div dir="auto">If it is repeatable in AutoCAD Map, then I would recommend submitting a bug to Autodesk directly.<br><div dir="auto"><br></div><br><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Fri, 8 Mar 2024, 06:08 David Bowen via mapguide-users, <<a href="mailto:mapguide-users@lists.osgeo.org">mapguide-users@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">We're testing using the AutoDesk Oracle driver in MGOS Beta 1, running on Apache on Windows Server 2022 Standard, and are encountering an issue when we select an object to query against the database (Oracle 19). <br><div>Instead of returning results, that are being returned when using the Oracle SLKING driver, we're getting an error message (image 1). </div><div><br></div><div>Image 1:</div><div>
<img src="cid:ii_ltiq9au41" alt="image.png" width="451" height="111"><br>
</div><div><br></div><div>The relevant section of code is as follows:</div><br> function _setEnvironment() {<br> //// Set Oracle NLS variables <br> $NLS_ENV = "ALTER SESSION SET NLS_NUMERIC_CHARACTERS='.,'";<br> $set = $this->db_app->simple_query( $NLS_ENV );<br> $NLS_ENV = "ALTER SESSION SET NLS_DATE_FORMAT='YYYY-MM-DD'";<br> $set = $this->db_app->simple_query( $NLS_ENV );<br> }<br><br><div>It fails when attempting to run the first simple_query, and I presume it will fail when attempting to run the second simple_query. Has anyone encountered this or are using the AutoDesk Oracle driver where the NLS variables are being set?</div><div><br></div>Thanks,<br>David</div>
_______________________________________________<br>
mapguide-users mailing list<br>
<a href="mailto:mapguide-users@lists.osgeo.org" target="_blank" rel="noreferrer">mapguide-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/mapguide-users" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/mapguide-users</a><br>
</blockquote></div></div></div>