summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap
diff options
context:
space:
mode:
authorgodzilla80@gmx.net <>2009-03-17 21:39:58 +0000
committergodzilla80@gmx.net <>2009-03-17 21:39:58 +0000
commit0c89d5004461ab705af3c7d92c30aba20a1609cd (patch)
treeeeb0ae59749d4d537a0732f53b3e38fbf47bc074 /framework/Data/SqlMap
parent6c40330f393d3a01128f6fbd27821368d62f368d (diff)
Fixed Issue #68: TSqlMapConfig::createSqlMapGateway(): assign current connection to cached TSqlMapManager to avoid loosing active transaction
Diffstat (limited to 'framework/Data/SqlMap')
-rw-r--r--framework/Data/SqlMap/TSqlMapConfig.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/framework/Data/SqlMap/TSqlMapConfig.php b/framework/Data/SqlMap/TSqlMapConfig.php
index 98f2a844..cdf6b541 100644
--- a/framework/Data/SqlMap/TSqlMapConfig.php
+++ b/framework/Data/SqlMap/TSqlMapConfig.php
@@ -147,6 +147,9 @@ class TSqlMapConfig extends TDataSourceConfig
$this->cacheSqlMapManager($manager);
}
}
+ else {
+ $manager->setDbConnection($this->getDbConnection());
+ }
return $manager->getSqlmapGateway();
}