From 18ea316c553f7ccfc18b73f0c987de007f11b275 Mon Sep 17 00:00:00 2001 From: wei <> Date: Mon, 4 Dec 2006 00:02:23 +0000 Subject: Fixed #469 --- .../SqlMap/Statements/TUpdateMappedStatement.php | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 framework/Data/SqlMap/Statements/TUpdateMappedStatement.php (limited to 'framework/Data/SqlMap/Statements/TUpdateMappedStatement.php') diff --git a/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php b/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php new file mode 100644 index 00000000..46d27778 --- /dev/null +++ b/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php @@ -0,0 +1,32 @@ +getID()); + } + + public function executeQueryForMap($connection, $parameter, $keyProperty, + $valueProperty=null) + { + throw new TSqlMapExecutionException( + 'sqlmap_cannot_execute_query_for_map', get_class($this), $this->getID()); + } + + public function executeQueryForList($connection, $parameter, $result=null, + $skip=-1, $max=-1) + { + throw new TSqlMapExecutionException( + 'sqlmap_cannot_execute_query_for_list', get_class($this), $this->getID()); + } + + public function executeQueryForObject($connection, $parameter, $result=null) + { + throw new TSqlMapExecutionException( + 'sqlmap_cannot_execute_query_for_object', get_class($this), $this->getID()); + } +} + +?> \ No newline at end of file -- cgit v1.2.3