mirror of https://github.com/apache/openjpa.git
OPENJPA-1294: New connection is not reference counted
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@929184 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b1a2190cf3
commit
8abf57d913
|
@ -975,7 +975,7 @@ public class JDBCStoreManager
|
|||
|
||||
public Connection getNewConnection() {
|
||||
try {
|
||||
return connectInternal();
|
||||
return _ds.getConnection();
|
||||
} catch (SQLException e) {
|
||||
throw SQLExceptions.getStore(e, _dict);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue