You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Tuncay Baskan <tb...@gmail.com> on 2005/06/21 18:26:00 UTC

Configuration files as embedded resources

A comment in IBatisNet.DataMapper.Configuration.DomSqlMapBuilder class;
	// Which files must we allow to be used as Embedded Resources ?
	// - slqMap.config [No]
	// - providers.config [No]
	// - sqlMap files [yes]
	// - properties file (like Database.config) [Yes]

I wonder why this decision has been made back then? 
Why aren't sqlMap.config, providers.config files allowed to be
embedded resources?

-- 
/tb.

Re: Configuration files as embedded resources

Posted by Ron Grabowski <ro...@yahoo.com>.
As of the 1.2 DataMapper Alpha release, all config file can be embedded
. The comment in that class needs to be changed. Thanks for bringing it
to our attention.

--- Tuncay Baskan <tb...@gmail.com> wrote:

> A comment in IBatisNet.DataMapper.Configuration.DomSqlMapBuilder
> class;
> 	// Which files must we allow to be used as Embedded Resources ?
> 	// - slqMap.config [No]
> 	// - providers.config [No]
> 	// - sqlMap files [yes]
> 	// - properties file (like Database.config) [Yes]
> 
> I wonder why this decision has been made back then? 
> Why aren't sqlMap.config, providers.config files allowed to be
> embedded resources?
> 
> -- 
> /tb.
>