-
Notifications
You must be signed in to change notification settings - Fork 38
Is the SQL feature going to be removed from the toolkit? #279
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Yes the We recommend users to migrate to the odbc, idb-connector, or idb-pconnector npm packages. These are much better SQL interfaces for IBM i and should be used instead. In your case, use odbc to connect to Db2 from your linux server. Refer to the odbc setup guide for instructions. |
I do agree with if one wants to query tables outside of the job's QTEMP. What I have been doing is calling a program, it dumps into QTEMP and then I Thank you all for all of the great work with this package! |
As @abmusse said, we plan to support iSql for some time and the SQL capabilities of XMLSERVICE aren't going away so I suppose one could always generate the XML themselves and pass it to the toolkit (or fork the iSql classes/functions if/when needed). Additionally, you can use the node-odbc transort in the upcoming v1.0 instead of REST. By using the default |
@kadler, you bring up a good point. I was too fixed on rest I have forgotten about the odbc option of the connection. Thank you for the hint! I'll do that instead. |
Will you all consider the ability to set an existing opened odbc connection to the odbc transport? |
Ahh, right. I forgot that the Node version of this package opens its own connection and closes it every time you call it. I've definitely had that idea, perhaps we can target it for v1.1 or beyond. |
👋 Hi! This issue has been marked stale due to inactivity. If no further activity occurs, it will automatically be closed. |
I think we can close this one out as the original question is answered and we are tracking the ability to use an existing connection in the open PR. |
As I was studying the master branch it shows that the iSql classes will be removed in the next major release. Is there still going to be support for executing SQL through a rest interface? The reason I am asking is that my applications are running on a Linux server calling into the XMLSERVICE.cgi program.
The text was updated successfully, but these errors were encountered: