ibatis-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Weisel (JIRA)" <ibatis-...@incubator.apache.org>
Subject [jira] Created: (IBATISNET-86) Make _mapper in IBatisNet.DataMapper.Mapper protected, not private
Date Wed, 06 Jul 2005 20:17:13 GMT
Make _mapper in IBatisNet.DataMapper.Mapper protected, not private

         Key: IBATISNET-86
         URL: http://issues.apache.org/jira/browse/IBATISNET-86
     Project: iBatis for .NET
        Type: Improvement
    Versions: DataMapper 1.1, DataMapper 1.2.0, DataMapper 1.2.1    
    Reporter: Chris Weisel
 Assigned to: Gilles Bayon 
    Priority: Trivial

I'm setting up IBatisNet DataMapper to use an embedded sqlmap.config, and so I can't use the
provided Mapper class.  The only difference between what I'm doing and the standard (and I
would guess that this applies to most other users as well) is that I need to change the InitMapper()

protected static void InitMapper()
	DomSqlMapBuilder builder = new DomSqlMapBuilder();
	_mapper = builder.Configure("Resources.sqlmap.config, Project.Name.Persistence);

This is an example of the change I need to make.  If the _mapper variable were protected,
instead of private, I could simply extend Mapper and override InitMapper and be done with

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message