-
Notifications
You must be signed in to change notification settings - Fork 34
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
MDX XmlaHandler.executeQuery() doesn't release connection if everything is ok #9
Comments
If executeQuery is successful, it will return an MDDataSet. That needs to have a valid CellSet object inside it, and if executeQuery() were to close the connection, it would make the CellSet invalid. MDDataSet.close() closes the connection. So, make sure that MDDataSet.close() is being called. Julian |
@julianhyde thanks for your answer. MDDataSet.close() is call fine and connection from the driver is closed successfully, but not the pooled connection obtained at Olap4jPoolingConnectionFactory.getConnection(), cellset just has no reference to it. How it can be released back to the pool? |
You may have found a bug. I can't be sure, but please log one to we can track. Maybe the the proxy returned by |
@julianhyde I'm not sure what you mean in "please log one to we can track", I tried to raise an issue at Pentaho jira, but did find xmlaserver project. |
Apologies; I was reading/replying via email, so I'd forgotten that we were in a github issue already. (This one!) |
hello,
Thanks for your project. I'm experimenting with the own olap4j driver impl.
if(!success)
onlythat closes connection from underlying driver, but not the dbcp connection wrapper, that leaks it.
WDYT? How we can to elaborate this issue?
So far, I'll try to nuke the connection pooling.
The text was updated successfully, but these errors were encountered: