Subject The prepare statement identifies a prepare statement with an open cursor?
Author foofoo3636
I have an application with a middleware that maintains a database pool of connections to firebird. I get the following error, intermittently:

"The prepare statement identifies a prepare statement with an open cursor"

I'm guessing that I'm not handling my transactions well somewhere before I put it back in the pool. But, I don't really know what the error means. Can anyone tell me? It might help me narrow down where I'm having the transaction issue. Or, if anyone knows how I can help narrow down what piece of sql has caused this issue, that would be awesome! I have a ton of code that leverages this pool, so it can be really hard to track down transaction handling issues.

Thank you!
Eldon