OPENJPA-1294 New connection is not reference counted. Merged in from trunk r929184. Original patch by Pinaki.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/branches/2.0.x@929354 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Donald Woods 2010-03-31 01:10:34 +00:00
parent e973d26a72
commit 91f68ba918

View File

@ -1000,7 +1000,7 @@ public class JDBCStoreManager
public Connection getNewConnection() {
try {
return connectInternal();
return _ds.getConnection();
} catch (SQLException e) {
throw SQLExceptions.getStore(e, _dict);
}