Ok, now it works. Thanks so much. Regarding the performance in version 1.3.0 it's a little much faster. I have a question; the time consumed in this initialization depends of how many maps I have in my solution?
Dim builder As DomSqlMapBuilder = New DomSqlMapBuilder mapper = builder.Configure I'm a little concerned about this because my application would have a lot of maps. -----Original Message----- From: Ron Grabowski [mailto:[EMAIL PROTECTED] Sent: Monday, October 17, 2005 9:28 AM To: [email protected] Subject: RE: ConfigureAndWatch Performance Issue Do you have a useStatementNamespaces defined in the properties file? What happens when you use a simple true/false? <setting useStatementNamespaces="true" /> I looked at the code and the setting nodes look they support the ${} syntax ok. --- Cynthia Torres <[EMAIL PROTECTED]> wrote: > Hi, > > Here are my sqlmap.config file. If you need anything else please let > me > know. > > Thanks > > <?xml version="1.0" encoding="utf-8"?> > <sqlMapConfig xmlns="http://ibatis.apache.org/dataMapper" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > > > <!-- Rem : If used via a DataAccess context, properties tag will > be ignored --> > <properties resource="properties.config"/> > > <settings> > <setting > useStatementNamespaces="${useStatementNamespaces}"/> > <setting cacheModelsEnabled="false"/> > <setting validateSqlMap="false"/> > </settings> > > <providers resource="providers.config"/> > > <database> > <!-- Optional ( default ) --> > <provider name="oracleClient1.0"/> > <dataSource name="ISOData" connectionString="Data > Source=${datasource};User Id=${userid};Password=${password}"/> > </database> > > > <sqlMaps> > <!-- <sqlMap > url="E:/Projet/iBatis/trunk/cs/mapper/IBatisNet.DataMapper.Test/${direct > ory}/MSSQL/SqlClient/Account.xml"/> --> > <sqlMap resource="Maps/RosterLocationMap.xml"/> > <sqlMap resource="Maps/Security/GroupsMap.xml"/> > <!-- Rem : If used as embbeded Resources, use > <sqlMap embedded="Maps.MSSQL.SqlClient.Account.xml, > IBatisNet.DataMapper.Test"/>--> > </sqlMaps> > </sqlMapConfig> > > -----Original Message----- > From: Ron Grabowski [mailto:[EMAIL PROTECTED] > Sent: Friday, October 14, 2005 5:16 PM > To: [email protected] > Subject: RE: ConfigureAndWatch Performance Issue > > Could you post your sqlMap.config file and any other files you use to > configure IBatisNet? > > It sounds like you have a value in an xml config file that can't be > converted into a Boolean correctly. > > --- Cynthia Torres <[EMAIL PROTECTED]> wrote: > > > I downloaded the bin files version 1.3.0. After this I changed the > > sqlmap.config for the one provided in the folder and made some > > changes > > to my code: > > > > Dim handler As ConfigureHandler = New ConfigureHandler(AddressOf > > Configure) > > Dim builder As DomSqlMapBuilder = New DomSqlMapBuilder > > mapper = builder.ConfigureAndWatch(handler) > > > > but I get this error: > > > > [FormatException: String was not recognized as a valid Boolean.] > > System.Boolean.Parse(String value) +269 > > System.Convert.ToBoolean(String value) +12 > > IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Initialize() > > > > > IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument > > document, DataSource dataSource, Boolean useConfigFileWatcher, > > Boolean > > isCallFromDao) > > > > [ConfigurationException: > > - The error occurred while loading global settings.] > > > > > IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument > > document, DataSource dataSource, Boolean useConfigFileWatcher, > > Boolean > > isCallFromDao) > > > > > IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.Build(XmlDocument > > document, Boolean useConfigFileWatcher) > > > > > IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ConfigureAndWatch(St > > ring resource, ConfigureHandler configureDelegate) > > > > > IBatisNet.DataMapper.Configuration.DomSqlMapBuilder.ConfigureAndWatch(Co > > nfigureHandler configureDelegate) > > > > > > > > -----Original Message----- > > From: Ron Grabowski [mailto:[EMAIL PROTECTED] > > Sent: Friday, October 14, 2005 3:03 PM > > To: [email protected] > > Subject: RE: ConfigureAndWatch Performance Issue > > > > I believe this is the only way Apache projects can be checked out > of > > source control. Last time I checked this directory: > > > > http://svn.apache.org/dist/ > > > > there was a alpha/beta(?) binary build from a few weeks ago that > > should > > have the configuration speedup code inside of it. You may want to > > give > > that a try. It should just be a matter of extracting the files and > > rebuilding your project. > > > > --- Cynthia Torres <[EMAIL PROTECTED]> wrote: > > > > > Yes I'm able to see the site. Is this the only way you have to > > > download > > > the SVN? > > > > > > -----Original Message----- > > > From: Ron Grabowski [mailto:[EMAIL PROTECTED] > > > Sent: Friday, October 14, 2005 2:16 PM > > > To: [email protected] > > > Subject: RE: ConfigureAndWatch Performance Issue > > > > > > Hmmm, this is what I did (Flash movie): > > > > > > http://www.ronosaurus.com/IBatisNet/IBatisNet-svn.htm > > > > > > and it worked ok. Are you able to view this website in your > > browser: > > > > > > http://svn.apache.org/ > > > > > > --- Cynthia Torres <[EMAIL PROTECTED]> wrote: > > > > > > > Ok...Thanks for the clarification. I did all your instructions > > but > > > > I'm > > > > getting errors when try to check out the files > > > > > > > > Error: PROPFIND request failed on > > > '/repos/asf/ibatis/trunk/cs/mapper' > > > > > > > > Error: PROPFIND of '/repos/asf/ibatis/trunk/cs/mapper': could > not > > > > connect to server (http://svn.apache.org) > > > > > > > > Please let me know what can I do to download the files. I could > > > send > > > > you > > > > if you want screen captures of all the steps I did. > > > > > > > > Thanks > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: Ron Grabowski [mailto:[EMAIL PROTECTED] > > > > Sent: Friday, October 14, 2005 11:12 AM > > > > To: [email protected] > > > > Subject: RE: ConfigureAndWatch Performance Issue > > > > > > > > SVN is an abbreviation for Subversion which is the source > control > > > > system that Apache projects use. You can view the most up to > date > > > > versions of IBatisNet here: > > > > > > > > http://svn.apache.org/repos/asf/ibatis/trunk/cs/mapper/ > > > > > > > > There is a program called TortoiseSVN that makes it very easy > to > > > > integrate SVN with the Windows Explorer. Its available here: > > > > > > > > http://tortoisesvn.tigris.org/ > > > > > > > > Once you've installed the program, create a new folder > > > > (C:\Projects\IBatisNet-svn\ for example), go inside of it and > > > select > > > > SVN Checkout. Enter the http://svn.apache... address from above > > and > > > > it > > > > will download the latest version to that folder. You may need > to > > > > comment out a few lines some of the AssemblyInfo.cs files to > > avoid > > > > errors with signed assemblies but other than that it should > build > > > > normally... > === message truncated ===

