-
Bug
-
Resolution: Fixed
-
High
-
6.1.3, 6.3.4
-
6.01
-
Component: entityengine
Class: GenericDAO.java
Method: selectListIteratorByCondition
Description:
In case an exception is thrown after the SQLProcessor instance is created, a database connection is leaked because the SQLProcessor instance is not closed.
Solution:
The code after the createion of the SQLProcessor instance must be in try-catch block intercepting GenericEntityException and RuntimeException.
In case of caught exception, the SQLProcessor instance must be closed and the exception re-thrown.
Affected versions:
This issue was discovered in our productive JIRA v. 6.1.3, but after looking at the source it is still present in 6.3.4
- is caused by
-
JRASERVER-38790 Ofbiz generates queries with large IN clauses that result in SQL Server errors
- Closed
-
JDEV-31097 Loading...
- mentioned in
-
Page Loading...