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-82) No DomDaoManagerBuilder.Configure method exists for XmlDocuments.
Date Wed, 15 Jun 2005 19:01:49 GMT
No DomDaoManagerBuilder.Configure method exists for XmlDocuments.  

         Key: IBATISNET-82
         URL: http://issues.apache.org/jira/browse/IBATISNET-82
     Project: iBatis for .NET
        Type: Bug
    Versions: DataAccess 1.6.1    
 Environment: IBatisNet source revision 190788.  
    Reporter: Chris Weisel
 Assigned to: Gilles Bayon 
    Priority: Minor

While the DataMapper configuration class (DomSqlMapBuilder) includes a method for configuring
from an XmlDocument, the DataAccess configuration class (DomDaoManagerBuilder) does not. 
The documentation that comes with DataAccess 1.6.1 says that there should be a Configure(XmlDocument
document) method.  

The following code fixes the issue:
/// <summary>
///  Configure DaoManagers from an XmlDocument.
/// </summary>
/// <param name="resource">An XmlDocument resource</param>
public void Configure(XmlDocument document)
 BuildDaoManagers( document, false );

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