summaryrefslogtreecommitdiff
path: root/framework/DataAccess/SQLMap/Statements/TSelectMappedStatement.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/DataAccess/SQLMap/Statements/TSelectMappedStatement.php')
-rw-r--r--framework/DataAccess/SQLMap/Statements/TSelectMappedStatement.php4
1 files changed, 2 insertions, 2 deletions
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());
}
}