ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gilles Bayon (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Closed: (IBATISNET-58) Allow all attributes in SqlMap.config file to be aware of ${xyz} properties
Date Tue, 16 Aug 2005 17:54:55 GMT
     [ http://issues.apache.org/jira/browse/IBATISNET-58?page=all ]
     
Gilles Bayon closed IBATISNET-58:
---------------------------------

    Fix Version: DataMapper 1.3
     Resolution: Fixed

In Svn

> Allow all attributes in SqlMap.config file to be aware of ${xyz} properties
> ---------------------------------------------------------------------------
>
>          Key: IBATISNET-58
>          URL: http://issues.apache.org/jira/browse/IBATISNET-58
>      Project: iBatis for .NET
>         Type: Improvement
>     Versions: DataMapper 1.1
>  Environment: [assembly: AssemblyVersion("1.1.458")]
>     Reporter: Ron Grabowski
>     Assignee: Gilles Bayon
>     Priority: Minor
>      Fix For: DataMapper 1.3

>
> As of 5/5/2005, not all attributes in SqlMap.config are aware of ${xyz} style global
properties.
> IBatisNet.DataMapper.Configuration.Initialize() should be checked to make sure ParsePropertyTokens
is called  on everything(?). For example, when a TypeAlias is deserialized its settable properties
should be run through ParsePropertyTokens:
>  typeAlias = (TypeAlias) serializer.Deserialize(new XmlNodeReader(xmlNode));
>  typeAlias.Class = Resources.ParsePropertyTokens(typeAlias.Class, _configScope.Properties);
>  typeAlias.ClassName = Resources.ParsePropertyTokens(typeAlias.ClassName, _configScope.Properties);
>  typeAlias.Name = Resources.ParsePropertyTokens(typeAlias.Name, _configScope.Properties);
> before it is initialized:
>  typeAlias.Initialize();
> IBatisNet.DataMapper.Configuration.ConfigureSqlMap() should also be updated to allow
global properties to be substituted.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message