From cbb7a11179b9c1c46e35f04d07d6386a44e400b2 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 23 Jul 2006 11:11:21 +0000 Subject: Update time-tracker demo and add simple dynamic SQLMap --- framework/DataAccess/SQLMap/Configuration/TResultProperty.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'framework/DataAccess/SQLMap/Configuration/TResultProperty.php') diff --git a/framework/DataAccess/SQLMap/Configuration/TResultProperty.php b/framework/DataAccess/SQLMap/Configuration/TResultProperty.php index 9cc0df3a..29ee366e 100644 --- a/framework/DataAccess/SQLMap/Configuration/TResultProperty.php +++ b/framework/DataAccess/SQLMap/Configuration/TResultProperty.php @@ -45,9 +45,11 @@ class TResultProperty extends TComponent { if(is_null($this->_typeHandlerFactory)) return null; if(!is_null($this->_typeHandler)) - return $this->_typeHandlerFactory->getTypeHandler($this->_typeHandler); + return $this->_typeHandlerFactory->getTypeHandler( + $this->_typeHandler, $this->_dbType); else if(!is_null($this->getType())) - return $this->_typeHandlerFactory->getTypeHandler($this->getType()); + return $this->_typeHandlerFactory->getTypeHandler( + $this->getType(), $this->_dbType); else return null; } -- cgit v1.2.3