Allow <properties> to be set from within SqlMap.config instead of from an external file. ----------------------------------------------------------------------------------------
Key: IBATISNET-63 URL: http://issues.apache.org/jira/browse/IBATISNET-63 Project: iBatis for .NET Type: Improvement Reporter: Ron Grabowski Assigned to: Gilles Bayon Priority: Trivial This is a follow up to my post on the mailing list: http://tinyurl.com/cej2y http://www.mail-archive.com/ibatis-user-cs@incubator.apache.org/msg00352.html It would also be nice if I could populate the <properties> node in SqlMap.config with global properties instead of having to specify an external file. If a property file only has one property in it, why not just put it in SqlMap.config? Having an external properties file is just another small file I need to worry about. The user would be allowed to specify an external file or specify values inline but not both: <!-- OK --> <properties> <add key="selectKey" value="SELET @@IDENTITY" /> </properties> <!-- OK --> <properties url="c:/properties.xml" /> <!-- WRONG --> <properties url="c:/properties.xml" /> <add key="selectKey" value="SELET @@IDENTITY" /> </properties> -- 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