Menu

#28 Statements not closed in IncludeHandler, Version 4.9

open
nobody
None
5
2006-11-07
2006-11-07
No

I am using SQLUnit with an Oracle database.
My test setup is done by including a file. This setup
inserts much data into the database.
When I run the test, i get an Oracle Error that the
maximum number of open cursors is exceeded.
I had a look into the code of the InputHandler and
found that the PreparedStatements used in
executeOtherSQL never get closed. This also is the case
in executeMultilineSQL and executeCallableSQL.
I don't know if this is the case in other classes too
or in version 5.0, which I can't use because of problem
1524748.

Discussion


Log in to post a comment.