From c7d41e5bea4a5f96979a08da9cc9f79355edfe70 Mon Sep 17 00:00:00 2001 From: wei <> Date: Sun, 16 Jul 2006 06:19:36 +0000 Subject: Update Time Tracker demo. --- framework/DataAccess/SQLMap/Statements/TSelectMappedStatement.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'framework/DataAccess/SQLMap/Statements/TSelectMappedStatement.php') diff --git a/framework/DataAccess/SQLMap/Statements/TSelectMappedStatement.php b/framework/DataAccess/SQLMap/Statements/TSelectMappedStatement.php index 1171e28f..b6f179c0 100644 --- a/framework/DataAccess/SQLMap/Statements/TSelectMappedStatement.php +++ b/framework/DataAccess/SQLMap/Statements/TSelectMappedStatement.php @@ -5,13 +5,13 @@ class TSelectMappedStatement extends TMappedStatement public function executeInsert($connection, $parameter) { throw new TSqlMapExecutionException( - 'sqlmap_cannot_execute_insert', get_class($this)); + 'sqlmap_cannot_execute_insert', get_class($this), $this->getID()); } public function executeUpdate($connection, $parameter) { throw new TSqlMapExecutionException( - 'sqlmap_cannot_execute_update', get_class($this)); + 'sqlmap_cannot_execute_update', get_class($this), $this->getID()); } } -- cgit v1.2.3