summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/Statements
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/SqlMap/Statements')
-rw-r--r--framework/Data/SqlMap/Statements/TCachingStatement.php1
-rw-r--r--framework/Data/SqlMap/Statements/TInsertMappedStatement.php1
-rw-r--r--framework/Data/SqlMap/Statements/TMappedStatement.php10
-rw-r--r--framework/Data/SqlMap/Statements/TPreparedCommand.php5
-rw-r--r--framework/Data/SqlMap/Statements/TPreparedStatement.php2
-rw-r--r--framework/Data/SqlMap/Statements/TSelectMappedStatement.php1
-rw-r--r--framework/Data/SqlMap/Statements/TSimpleDynamicSql.php2
-rw-r--r--framework/Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php3
-rw-r--r--framework/Data/SqlMap/Statements/TUpdateMappedStatement.php1
9 files changed, 26 insertions, 0 deletions
diff --git a/framework/Data/SqlMap/Statements/TCachingStatement.php b/framework/Data/SqlMap/Statements/TCachingStatement.php
index 745249e4..180a9375 100644
--- a/framework/Data/SqlMap/Statements/TCachingStatement.php
+++ b/framework/Data/SqlMap/Statements/TCachingStatement.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Data\SqlMap\Statements;
+use Prado\Data\SqlMap\Configuration\TSqlMapCacheKey;
/**
* TCacheingStatement class.
diff --git a/framework/Data/SqlMap/Statements/TInsertMappedStatement.php b/framework/Data/SqlMap/Statements/TInsertMappedStatement.php
index eac88d2d..4b8a01d8 100644
--- a/framework/Data/SqlMap/Statements/TInsertMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TInsertMappedStatement.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Data\SqlMap\Statements;
+use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException;
/**
* TInsertMappedStatement class.
diff --git a/framework/Data/SqlMap/Statements/TMappedStatement.php b/framework/Data/SqlMap/Statements/TMappedStatement.php
index 2f7e8619..36375dd7 100644
--- a/framework/Data/SqlMap/Statements/TMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TMappedStatement.php
@@ -10,6 +10,16 @@
*/
namespace Prado\Data\SqlMap\Statements;
+use Prado\Collections\TList;
+use Prado\Data\ActiveRecord\TActiveRecord;
+use Prado\Data\SqlMap\Configuration\TResultProperty;
+use Prado\Data\SqlMap\Configuration\TSqlMapInsert;
+use Prado\Data\SqlMap\Configuration\TSqlMapStatement;
+use Prado\Data\SqlMap\DataMapper\TLazyLoadList;
+use Prado\Data\SqlMap\DataMapper\TPropertyAccess;
+use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException;
+use Prado\Data\SqlMap\TSqlMapManager;
+use Prado\Exceptions\TInvalidDataValueException;
/**
* TMappedStatement class executes SQL mapped statements. Mapped Statements can
diff --git a/framework/Data/SqlMap/Statements/TPreparedCommand.php b/framework/Data/SqlMap/Statements/TPreparedCommand.php
index 4f59f4c7..9ddfc67e 100644
--- a/framework/Data/SqlMap/Statements/TPreparedCommand.php
+++ b/framework/Data/SqlMap/Statements/TPreparedCommand.php
@@ -11,6 +11,11 @@
namespace Prado\Data\SqlMap\Statements;
+use Prado\Data\Common\TDbCommandBuilder;
+use Prado\Data\Common\TDbMetaData;
+use Prado\Data\SqlMap\TSqlMapManager;
+use Prado\Prado;
+
Prado::using('System.Data.Common.TDbMetaData');
Prado::using('System.Data.Common.TDbCommandBuilder');
diff --git a/framework/Data/SqlMap/Statements/TPreparedStatement.php b/framework/Data/SqlMap/Statements/TPreparedStatement.php
index b978996e..30bccedd 100644
--- a/framework/Data/SqlMap/Statements/TPreparedStatement.php
+++ b/framework/Data/SqlMap/Statements/TPreparedStatement.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Data\SqlMap\Statements;
+use Prado\Collections\TList;
+use Prado\Collections\TMap;
/**
* TpreparedStatement class.
diff --git a/framework/Data/SqlMap/Statements/TSelectMappedStatement.php b/framework/Data/SqlMap/Statements/TSelectMappedStatement.php
index f97176e9..3c4aa376 100644
--- a/framework/Data/SqlMap/Statements/TSelectMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TSelectMappedStatement.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Data\SqlMap\Statements;
+use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException;
/**
* TSelectMappedStatment class.
diff --git a/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php b/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php
index 147e5177..9a7d6543 100644
--- a/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php
+++ b/framework/Data/SqlMap/Statements/TSimpleDynamicSql.php
@@ -10,6 +10,8 @@
*/
namespace Prado\Data\SqlMap\Statements;
+use Prado\Data\SqlMap\Configuration\TSimpleDynamicParser;
+use Prado\Data\SqlMap\DataMapper\TPropertyAccess;
/**
* TSimpleDynamicSql class.
diff --git a/framework/Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php b/framework/Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php
index 041eda6b..fa2bf1cd 100644
--- a/framework/Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php
+++ b/framework/Data/SqlMap/Statements/TSqlMapObjectCollectionTree.php
@@ -10,6 +10,9 @@
*/
namespace Prado\Data\SqlMap\Statements;
+use Prado\Collections\TList;
+use Prado\Data\SqlMap\DataMapper\TPropertyAccess;
+use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException;
/**
* TSQLMapObjectCollectionTree class.
diff --git a/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php b/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php
index 265876f5..f64a0aa4 100644
--- a/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php
+++ b/framework/Data/SqlMap/Statements/TUpdateMappedStatement.php
@@ -10,6 +10,7 @@
*/
namespace Prado\Data\SqlMap\Statements;
+use Prado\Data\SqlMap\DataMapper\TSqlMapExecutionException;
/**
* TUpdateMappedStatement class.