Notifications
Announcements
No record found.
Description:
if we have two userconnection and we change the useconnection to another after select, i want to known whether it will get a error? is it reasonable? please give me suggestions, thanks!
For example:
bCon = new UserConnection(); cCon = new UserConnection();table1.setConnection(bCon); select * from table1 where table1.intfield==2;table1.setConnection(cCon);
So you want to know if the code that you shared will cause an error?
Here's the quickest way to find that out: test your code!
Then please share the result with us. Thanks :)
Hi Apple,
Would you mind sharing what are you trying to achieve with that approach?
yeah, i want to know whether the error is reasonable?
error refer to the following info:
<error>Cannot execute the required database operation.
Cannot attach to connection since the buffer is in use. Use another buffer or clear the buffer by assigning NULL.<\error>
The error is reasonable. Trying to point a buffer to another DB connection is not.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
André Arnaud de Cal... 456 Super User 2025 Season 2
Martin Dráb 429 Most Valuable Professional
BillurSamdancioglu 239 Most Valuable Professional