[ http://issues.apache.org/jira/browse/IBATISNET-74?page=comments#action_66349 ] Rick commented on IBATISNET-74: -------------------------------
The Spring.NET framework has already defined (and implemented) a simple resource abstraction, which you can read about here... http://www.springframework.net/doc/api/html/Spring.Core.IO.html Spring.NET uses the assembly:// notation to describe an embedded resource, whereas you guys (and gals?) are proposing using embedded:// The name is really sugar... if ya'll are set on using embedded://, I'll make a concerted push to get the Spring.NET assembly:// prefix changed to embedded:// . Sure, it may never happen, but you don't know 'till you try do you? It would be nice to get some cross pollination going between open source .NET projects, rather than just cross pollination between open source Java projects and their .NET ports. This way, folks who want to use iBatis.NET and Spring.NET together (such as your very own Ted Husted, who has been very active on the Spring.NET forums) can get the benefits of using a uniform syntax to access resources (be they embedded, web based, file based, etc), to wit... assembly://assemblyName/namespace/resourceName We wouldn't want to reinvent each others wheels now would we? Comments? > Improvement for configuration > ----------------------------- > > Key: IBATISNET-74 > URL: http://issues.apache.org/jira/browse/IBATISNET-74 > Project: iBatis for .NET > Type: Improvement > Environment: .NET > Reporter: Gilles Bayon > Assignee: Gilles Bayon > Priority: Minor > Fix For: DataMapper 1.2 > > To improve loading of sqlMap/dao.config files and make it more clearly, I > propose to use the same syntax as for other tag. > Loading of sqlMap/dao.config files with relative path : > SqlMapper.Configure("resource:sqlMap.Config") or > SqlMapper.Configure("sqlMap.Config") [to keep old syntax][+ idem for > ConfigureAndWatch] > Loading of sqlMap/dao.config files with absolute path : > SqlMapper.Configure("url:c:\MyDirectory\sqlMap.Config") [+ idem for > ConfigureAndWatch] > Loading of sqlMap/dao.config files embedded : > SqlMapper.Configure("embedded:A.B.SqlMap.Config, assembyName") > [ConfigureAndWatch will not be allow] -- 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