From 18ea316c553f7ccfc18b73f0c987de007f11b275 Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 4 Dec 2006 00:02:23 +0000 Subject: Fixed #469 --- .../Data/SqlMap/Statements/TSelectMappedStatement.php | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 framework/Data/SqlMap/Statements/TSelectMappedStatement.php (limited to 'framework/Data/SqlMap/Statements/TSelectMappedStatement.php') diff --git a/framework/Data/SqlMap/Statements/TSelectMappedStatement.php b/framework/Data/SqlMap/Statements/TSelectMappedStatement.php new file mode 100644 index 00000000..b6f179c0 --- /dev/null +++ b/framework/Data/SqlMap/Statements/TSelectMappedStatement.php @@ -0,0 +1,19 @@ +getID()); + } + + public function executeUpdate($connection, $parameter) + { + throw new TSqlMapExecutionException( + 'sqlmap_cannot_execute_update', get_class($this), $this->getID()); + } + +} + +?> \ No newline at end of file -- cgit v1.2.3