codefori / vscode-db2i

Db2 for IBM i Tools for VS Code
MIT License
46 stars 25 forks source link

SQL Trace for "getLargeUpdateCount not implemented" #237

Open worksofliam opened 3 months ago

worksofliam commented 3 months ago
Trace ```
[DATASTREAM_IN]: 2024-06-07.07.27.08.964
{"id":"id2","type":"connect","technique":"tcp","application":"vscode-db2i 1.0.0-dev","props":"libraries=SCHINDLN,QTEMP,OBJEKTTEST,DATEIEN,OBJEKTE,NEWSCAN,QGDDM,QIDU,QGPL,AUFTRAG,VERKAUF,EINKAUF,TAATOOL,ARCHIVP,GSESPL,E3SXROSS,E3SIROSS,SYSADMIN,SOURCEN,PROFOUNDUI,PROFOUNDJS,ILEASTIC,ILELDAP,ILEVATOR;naming=system;full open=false;transaction isolation=none;query optimize goal=1;block size=512;selfcodes=*NONE"}

[DATASTREAM_IN]: 2024-06-07.07.27.17.291
{"id":"id3","type":"setconfig","tracedest":"IN_MEM","tracelevel":"DATASTREAM"}

[DATASTREAM_OUT]: 2024-06-07.07.27.17.296
{"id":"id3","tracedest":"IN_MEM","tracelevel":"DATASTREAM","jtopentracedest":"IN_MEM","jtopentracelevel":"OFF","success":true}

[DATASTREAM_IN]: 2024-06-07.07.27.20.017
{"id":"query4","type":"sql","sql":"select * from qsys2.sysfuncs","terse":true,"rows":100}

[INFO]: 2024-06-07.07.27.20.017
asynchronously dispatcing a request of type: RunSql

[ERR]: 2024-06-07.07.27.20.351
java.lang.UnsupportedOperationException: getLargeUpdateCount not implemented
    at java.sql.Statement.getLargeUpdateCount(Statement.java:1103)
    at com.github.theprez.codefori.requests.RunSql.go(RunSql.java:24)
    at com.github.theprez.codefori.ClientRequest.run(ClientRequest.java:81)
    at java.lang.Thread.run(Thread.java:825)


[DATASTREAM_OUT]: 2024-06-07.07.27.20.351
{"id":"query4","has_results":true,"error":"getLargeUpdateCount not implemented","success":false}

[DATASTREAM_IN]: 2024-06-07.07.27.22.832
{"id":"id5","type":"gettracedata"}

[INFO]: 2024-06-07.07.27.22.833
synchronously dispatcing a request of type: GetTraceData
```
NicolasSchindler commented 3 months ago

@worksofliam @ThePrez if you need more information just hit me up. Thanks already