AWESOME

On Mon, Jun 1, 2009 at 5:08 AM, Yaojian <sky...@gmail.com> wrote:

> I guess the original idea is allow a user to customize the IDataMapper
> implementation class.
> But the DefaultConfigurationEngine instantiate the DataMapper instance in a
> non-virtual method.
>
> If we can add a DataMapperClass property in the ConfigurationSetting class,
> such as the ConfigurationSetting.SessionFactory does, we can make this work.
>
> By the way, I wrote some notes about the V3 configuration process:
>
> http://sites.google.com/site/ibatisnetinside/Home/DataMapperConfiguring
>
>
> On Mon, Jun 1, 2009 at 7:24 PM, Michael McCurrey <mmccur...@gmail.com>wrote:
>
>> I have no clue.   I'm still wresting with with large scale changes between
>> 1 and 3.
>>
>>
>> On Mon, Jun 1, 2009 at 1:19 AM, Yaojian <sky...@gmail.com> wrote:
>>
>>> The Apache.Ibatis.DataMapper.DefaultMapperFactory does not implement the
>>> IMapperFactory.GetMapper<TInterface>();
>>>
>>> so the only way AFAIK to get the IDataMapper is to use a type cast as:
>>>
>>>             IMapperFactory mapperFactory =
>>> configurationEngine.BuildMapperFactory();
>>>             IDataMapper dataMapper =
>>> ((IDataMapperAccessor)mapperFactory).DataMapper;   //since GetInterface<T>
>>> has not been implemented.
>>>
>>> Any one have idea about what the GetInterface<T> intend to be?
>>>
>>
>>
>>
>> --
>> Michael J. McCurrey
>> Read with me at http://www.mccurrey.com
>>
>
>


-- 
Michael J. McCurrey
Read with me at http://www.mccurrey.com

Reply via email to