diff options
Diffstat (limited to 'framework/Data/SqlMap/Configuration')
10 files changed, 34 insertions, 0 deletions
diff --git a/framework/Data/SqlMap/Configuration/TDiscriminator.php b/framework/Data/SqlMap/Configuration/TDiscriminator.php index a5cbed30..90c32cbf 100644 --- a/framework/Data/SqlMap/Configuration/TDiscriminator.php +++ b/framework/Data/SqlMap/Configuration/TDiscriminator.php @@ -10,6 +10,7 @@ */ namespace Prado\Data\SqlMap\Configuration; +use Prado\TPropertyValue; /** * The TDiscriminator corresponds to the <discriminator> tag within a <resultMap>. diff --git a/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php b/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php index 26475901..5e433d98 100644 --- a/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php +++ b/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php @@ -10,6 +10,7 @@ */ namespace Prado\Data\SqlMap\Configuration; +use Prado\Data\SqlMap\DataMapper\TSqlMapUndefinedException; /** * TInlineParameterMapParser class. diff --git a/framework/Data/SqlMap/Configuration/TParameterMap.php b/framework/Data/SqlMap/Configuration/TParameterMap.php index d1e78984..ee2ec375 100644 --- a/framework/Data/SqlMap/Configuration/TParameterMap.php +++ b/framework/Data/SqlMap/Configuration/TParameterMap.php @@ -10,6 +10,12 @@ */ namespace Prado\Data\SqlMap\Configuration; +use Prado\Collections\TList; +use Prado\Collections\TMap; +use Prado\Data\SqlMap\DataMapper\TInvalidPropertyException; +use Prado\Data\SqlMap\DataMapper\TPropertyAccess; +use Prado\Data\SqlMap\DataMapper\TSqlMapException; +use Prado\Prado; /** * TParameterMap corresponds to the <parameterMap> element. diff --git a/framework/Data/SqlMap/Configuration/TResultMap.php b/framework/Data/SqlMap/Configuration/TResultMap.php index e183438f..c386b212 100644 --- a/framework/Data/SqlMap/Configuration/TResultMap.php +++ b/framework/Data/SqlMap/Configuration/TResultMap.php @@ -10,6 +10,8 @@ */ namespace Prado\Data\SqlMap\Configuration; +use Prado\Collections\TMap; +use Prado\Data\SqlMap\DataMapper\TSqlMapException; /** * TResultMap corresponds to <resultMap> mapping tag. diff --git a/framework/Data/SqlMap/Configuration/TResultProperty.php b/framework/Data/SqlMap/Configuration/TResultProperty.php index 59ce44a9..e50b10ac 100644 --- a/framework/Data/SqlMap/Configuration/TResultProperty.php +++ b/framework/Data/SqlMap/Configuration/TResultProperty.php @@ -10,6 +10,11 @@ */ namespace Prado\Data\SqlMap\Configuration; +use Prado\Collections\TList; +use Prado\Data\SqlMap\DataMapper\TPropertyAccess; +use Prado\Prado; +use Prado\TPropertyValue; +use ReflectionClass; /** * TResultProperty corresponds a <property> tags inside a <resultMap> tag. diff --git a/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php b/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php index 393b61e6..264997c0 100644 --- a/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php +++ b/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php @@ -10,6 +10,8 @@ */ namespace Prado\Data\SqlMap\Configuration; +use Prado\Prado; +use Prado\TPropertyValue; /** * TSqlMapCacheModel corresponds to the <cacheModel> sql mapping configuration tag. diff --git a/framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php b/framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php index 89afe545..21eba3e7 100644 --- a/framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php +++ b/framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php @@ -11,6 +11,7 @@ */ namespace Prado\Data\SqlMap\Configuration; +use Prado\Data\SqlMap\DataMapper\TSqlMapConfigurationException; /** * TSqlMapSelect corresponds to the <selectKey> element. diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php index b74340bd..765e0d9f 100644 --- a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php +++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php @@ -11,6 +11,9 @@ namespace Prado\Data\SqlMap\Configuration; +use Prado\Data\SqlMap\DataMapper\TSqlMapConfigurationException; +use Prado\Prado; + Prado::using('System.Data.SqlMap.Configuration.TSqlMapStatement'); /** diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php index 91d9cbb3..8d6a6939 100644 --- a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php +++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php @@ -10,6 +10,7 @@ */ namespace Prado\Data\SqlMap\Configuration; +use Prado\Data\SqlMap\DataMapper\TSqlMapConfigurationException; /** * TSqlMapXmlConfig class. diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlMappingConfiguration.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlMappingConfiguration.php index ae2a454e..d9d2666a 100644 --- a/framework/Data/SqlMap/Configuration/TSqlMapXmlMappingConfiguration.php +++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlMappingConfiguration.php @@ -10,6 +10,18 @@ */ namespace Prado\Data\SqlMap\Configuration; +use Prado\Caching\TFileCacheDependency; +use Prado\Data\SqlMap\DataMapper\TPropertyAccess; +use Prado\Data\SqlMap\DataMapper\TSqlMapConfigurationException; +use Prado\Data\SqlMap\Statements\TCachingStatement; +use Prado\Data\SqlMap\Statements\TDeleteMappedStatement; +use Prado\Data\SqlMap\Statements\TInsertMappedStatement; +use Prado\Data\SqlMap\Statements\TMappedStatement; +use Prado\Data\SqlMap\Statements\TSimpleDynamicSql; +use Prado\Data\SqlMap\Statements\TStaticSql; +use Prado\Data\SqlMap\Statements\TUpdateMappedStatement; +use Prado\Prado; +use Prado\TApplicationMode; /** * Loads the statements, result maps, parameters maps from xml configuration. |