summaryrefslogtreecommitdiff
path: root/framework/Data/SqlMap/Configuration
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/SqlMap/Configuration')
-rw-r--r--framework/Data/SqlMap/Configuration/TDiscriminator.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TParameterMap.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TParameterProperty.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TResultMap.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TResultProperty.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapCacheKey.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapCacheTypes.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapDelete.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapInsert.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapSelect.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapStatement.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapUpdate.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php22
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php16
-rw-r--r--framework/Data/SqlMap/Configuration/TSqlMapXmlMappingConfiguration.php6
-rw-r--r--framework/Data/SqlMap/Configuration/TSubMap.php6
20 files changed, 90 insertions, 56 deletions
diff --git a/framework/Data/SqlMap/Configuration/TDiscriminator.php b/framework/Data/SqlMap/Configuration/TDiscriminator.php
index 1c7f679f..100e1816 100644
--- a/framework/Data/SqlMap/Configuration/TDiscriminator.php
+++ b/framework/Data/SqlMap/Configuration/TDiscriminator.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright © 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* The TDiscriminator corresponds to the <discriminator> tag within a <resultMap>.
*
@@ -20,7 +22,7 @@
* the object data.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TDiscriminator extends TComponent
diff --git a/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php b/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php
index e8977b0d..26475901 100644
--- a/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php
+++ b/framework/Data/SqlMap/Configuration/TInlineParameterMapParser.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TInlineParameterMapParser class.
*
@@ -17,7 +19,7 @@
* parametrized SQL statement.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TInlineParameterMapParser
diff --git a/framework/Data/SqlMap/Configuration/TParameterMap.php b/framework/Data/SqlMap/Configuration/TParameterMap.php
index 2eaad9a3..08ca6471 100644
--- a/framework/Data/SqlMap/Configuration/TParameterMap.php
+++ b/framework/Data/SqlMap/Configuration/TParameterMap.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TParameterMap corresponds to the <parameterMap> element.
*
@@ -25,7 +27,7 @@
* The <parameterMap> element accepts two attributes: id (required) and extends (optional).
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TParameterMap extends TComponent
diff --git a/framework/Data/SqlMap/Configuration/TParameterProperty.php b/framework/Data/SqlMap/Configuration/TParameterProperty.php
index 84007a28..d691d1f9 100644
--- a/framework/Data/SqlMap/Configuration/TParameterProperty.php
+++ b/framework/Data/SqlMap/Configuration/TParameterProperty.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TParameterProperty corresponds to the <property> tag and defines
* one object property for the <parameterMap>
@@ -24,7 +26,7 @@
* will be written to the database instead of the value.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TParameterProperty extends TComponent
diff --git a/framework/Data/SqlMap/Configuration/TResultMap.php b/framework/Data/SqlMap/Configuration/TResultMap.php
index e35faf28..d4707c5d 100644
--- a/framework/Data/SqlMap/Configuration/TResultMap.php
+++ b/framework/Data/SqlMap/Configuration/TResultMap.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TResultMap corresponds to <resultMap> mapping tag.
*
@@ -31,7 +33,7 @@
* from the "parent" <resultMap> are set before any values specified by this <resultMap>.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TResultMap extends TComponent
diff --git a/framework/Data/SqlMap/Configuration/TResultProperty.php b/framework/Data/SqlMap/Configuration/TResultProperty.php
index 796060ae..2404d2c9 100644
--- a/framework/Data/SqlMap/Configuration/TResultProperty.php
+++ b/framework/Data/SqlMap/Configuration/TResultProperty.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TResultProperty corresponds a <property> tags inside a <resultMap> tag.
*
@@ -28,7 +30,7 @@
* with the {@link Select setSelect()} .
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TResultProperty extends TComponent
diff --git a/framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php b/framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php
index 29260036..e9fd5ad5 100644
--- a/framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php
+++ b/framework/Data/SqlMap/Configuration/TSimpleDynamicParser.php
@@ -6,15 +6,17 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSimpleDynamicParser finds place holders $name$ in the sql text and replaces
* it with a TSimpleDynamicParser::DYNAMIC_TOKEN.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSimpleDynamicParser
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapCacheKey.php b/framework/Data/SqlMap/Configuration/TSqlMapCacheKey.php
index 095f24d4..20ec6a0b 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapCacheKey.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapCacheKey.php
@@ -6,16 +6,18 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSqlMapCacheKey class.
*
* Provides a hash of the object to be cached.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapCacheKey
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php b/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php
index 0021cad8..8f1aed63 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapCacheModel.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSqlMapCacheModel corresponds to the <cacheModel> sql mapping configuration tag.
*
@@ -27,7 +29,7 @@
* the current request.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapCacheModel extends TComponent
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapCacheTypes.php b/framework/Data/SqlMap/Configuration/TSqlMapCacheTypes.php
index c252151c..40eec553 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapCacheTypes.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapCacheTypes.php
@@ -6,16 +6,18 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSqlMapCacheTypes enumerable class.
*
* Implemented cache are 'Basic', 'FIFO' and 'LRU'.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapCacheTypes extends TEnumerable
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapDelete.php b/framework/Data/SqlMap/Configuration/TSqlMapDelete.php
index 90e1ab21..ddd0b55f 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapDelete.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapDelete.php
@@ -7,14 +7,16 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSqlMapDelete class corresponds to the <delete> element.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapDelete extends TSqlMapUpdate
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapInsert.php b/framework/Data/SqlMap/Configuration/TSqlMapInsert.php
index f269386f..8b1b36c4 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapInsert.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapInsert.php
@@ -7,9 +7,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSqlMapInsert class corresponds to the <insert> element.
*
@@ -17,7 +19,7 @@
* to generate a key to be used for the insert command.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapInsert extends TSqlMapStatement
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapSelect.php b/framework/Data/SqlMap/Configuration/TSqlMapSelect.php
index 098be9fb..64713af9 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapSelect.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapSelect.php
@@ -7,14 +7,16 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSqlMapSelect class file.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Statements
+ * @package Prado\Data\SqlMap\Statements
* @since 3.1
*/
class TSqlMapSelect extends TSqlMapStatement
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php b/framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php
index 51299097..89afe545 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapSelectKey.php
@@ -7,14 +7,16 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSqlMapSelect corresponds to the <selectKey> element.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapSelectKey extends TSqlMapStatement
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapStatement.php b/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
index 3477e9cf..b631e1b0 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapStatement.php
@@ -7,9 +7,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSqlMapStatement class corresponds to <statement> element.
*
@@ -23,7 +25,7 @@
* statement can return a database-generated key.)
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapStatement extends TComponent
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapUpdate.php b/framework/Data/SqlMap/Configuration/TSqlMapUpdate.php
index 853e7e2a..6daf790b 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapUpdate.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapUpdate.php
@@ -7,14 +7,16 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSqlMapUpdate class corresponds to <update> element.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapUpdate extends TSqlMapStatement
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php
index 47982fca..b74340bd 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfigBuilder.php
@@ -6,16 +6,18 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
Prado::using('System.Data.SqlMap.Configuration.TSqlMapStatement');
/**
* TSqlMapXmlConfig class file.
*
* @author Wei Zhuo <weizhuo[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
abstract class TSqlMapXmlConfigBuilder
{
@@ -36,7 +38,6 @@ abstract class TSqlMapXmlConfigBuilder
throw new TSqlMapConfigurationException(
'sqlmap_node_class_undef', $node, $this->getConfigFile());
}
-
/**
* For each attributes (excluding attribute named in $except) set the
* property of the $obj given by the name of the attribute with the value
@@ -60,7 +61,6 @@ abstract class TSqlMapXmlConfigBuilder
}
}
}
-
/**
* Gets the filename relative to the basefile.
* @param string base filename
@@ -79,7 +79,6 @@ abstract class TSqlMapXmlConfigBuilder
throw new TSqlMapConfigurationException(
'sqlmap_unable_to_find_resource', $resource);
}
-
/**
* Load document using simple xml.
* @param string filename.
@@ -89,13 +88,11 @@ abstract class TSqlMapXmlConfigBuilder
{
if( strpos($filename, '${') !== false)
$filename = $config->replaceProperties($filename);
-
if(!is_file($filename))
throw new TSqlMapConfigurationException(
'sqlmap_unable_to_find_config', $filename);
return simplexml_load_string($config->replaceProperties(file_get_contents($filename)));
}
-
/**
* Get element node by ID value (try for attribute name ID as case insensitive).
* @param SimpleXmlDocument $document
@@ -108,4 +105,13 @@ abstract class TSqlMapXmlConfigBuilder
//hack to allow upper case and lower case attribute names.
foreach(array('id','ID','Id', 'iD') as $id)
{
- $xpath = "//{$tag}[@{$id}='{$value} \ No newline at end of file
+ $xpath = "//{$tag}[@{$id}='{$value}']";
+ foreach($document->xpath($xpath) as $node)
+ return $node;
+ }
+ }
+ /**
+ * @return string configuration file.
+ */
+ protected abstract function getConfigFile();
+} \ No newline at end of file
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php
index bd2070bb..91d9cbb3 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlConfiguration.php
@@ -6,18 +6,10 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
- */']";
- foreach($document->xpath($xpath) as $node)
- return $node;
- }
- }
+ * @package Prado\Data\SqlMap\Configuration
+ */
- /**
- * @return string configuration file.
- */
- protected abstract function getConfigFile();
-}
+namespace Prado\Data\SqlMap\Configuration;
/**
* TSqlMapXmlConfig class.
@@ -25,7 +17,7 @@
* Configures the TSqlMapManager using xml configuration file.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapXmlConfiguration extends TSqlMapXmlConfigBuilder
diff --git a/framework/Data/SqlMap/Configuration/TSqlMapXmlMappingConfiguration.php b/framework/Data/SqlMap/Configuration/TSqlMapXmlMappingConfiguration.php
index d677f6cd..ae2a454e 100644
--- a/framework/Data/SqlMap/Configuration/TSqlMapXmlMappingConfiguration.php
+++ b/framework/Data/SqlMap/Configuration/TSqlMapXmlMappingConfiguration.php
@@ -6,16 +6,18 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* Loads the statements, result maps, parameters maps from xml configuration.
*
* description
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSqlMapXmlMappingConfiguration extends TSqlMapXmlConfigBuilder
diff --git a/framework/Data/SqlMap/Configuration/TSubMap.php b/framework/Data/SqlMap/Configuration/TSubMap.php
index 0a2e7614..c8ec3d64 100644
--- a/framework/Data/SqlMap/Configuration/TSubMap.php
+++ b/framework/Data/SqlMap/Configuration/TSubMap.php
@@ -6,9 +6,11 @@
* @link http://www.pradosoft.com/
* @copyright Copyright &copy; 2005-2014 PradoSoft
* @license http://www.pradosoft.com/license/
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
*/
+namespace Prado\Data\SqlMap\Configuration;
+
/**
* TSubMap class defines a submapping value and the corresponding <resultMap>
*
@@ -18,7 +20,7 @@
* is used inplace of the current result map.
*
* @author Wei Zhuo <weizho[at]gmail[dot]com>
- * @package System.Data.SqlMap.Configuration
+ * @package Prado\Data\SqlMap\Configuration
* @since 3.1
*/
class TSubMap extends TComponent