ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles Bayon <ibatis....@gmail.com>
Subject Re: ConfigureAndWatch Performance Issue
Date Fri, 14 Oct 2005 19:09:33 GMT
The files are still there.

On 10/14/05, Ron Grabowski <rongrabowski@yahoo.com> wrote:
>
> 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 <ctorres@softekpr.com> 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:rongrabowski@yahoo.com]
> > Sent: Friday, October 14, 2005 2:16 PM
> > To: user-cs@ibatis.apache.org
> > 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 <ctorres@softekpr.com> 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:rongrabowski@yahoo.com]
> > > Sent: Friday, October 14, 2005 11:12 AM
> > > To: user-cs@ibatis.apache.org
> > > 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...
> > >
> > > The version of IBatisNet in SVN is able to load and process files
> > > much
> > > faster than the last binary release version on ibatis.apache.org<http://ibatis.apache.org>
> .
> > If
> > > you want these speed improvements you'll have to use the SVN
> > version
> > > or
> > > wait until the next release. When will the next version be
> > released?
> > > I
> > > don't know. The code in SVN has been stable for a while (I'm using
> > it
> > > on a live site right now). One of the holdups now is that the
> > > documentation hasn't been completly updated to reflect the new
> > > features. I'm working on that now.
> > >
> > > Anyone can help with the source and documentation. If you see
> > > something
> > > in the documentation that is confusing or you think can be
> > explained
> > > better please speak up!
> > >
> > > --- Cynthia Torres <ctorres@softekpr.com> wrote:
> > >
> > > > Sure, you can use my code to help others. If would be great if
> > you
> > > > could have some documentation and sample code for VB.Net users.
> > > >
> > > > Regarding my issue if I crearly understand, what you suggested is
> > > to
> > > > change my method:
> > > >
> > > > Protected Shared Sub InitMapper()
> > > > Dim handler As New ConfigureHandler(AddressOf Configure)
> > > > mapper = SqlMapper.ConfigureAndWatch(handler)
> > > > End Sub 'InitMapper
> > > >
> > > > To use:
> > > >
> > > > Protected Shared Sub InitMapper()
> > > > mapper = IBatisNet.DataMapper.Mapper.Instance()
> > > > End Sub 'InitMapper
> > > >
> > > > I made the change but still taking to much time in been executed.
> >
> > > > The
> > > > other thing I have tried was put the code in the
> > Application_Start
> > > > event
> > > > but the effect was even worse. I'm not completely sure what the
> > > SVN
> > > > (mentioned in the email) is, if you can clarify to me what I have
> > > to
> > > > do
> > > > with this I will appreciate.
> > > >
> > > > Thanks in advance.
> > > >
> > > > -----Original Message-----
> > > > From: Ron Grabowski [mailto:rongrabowski@yahoo.com]
> > > > Sent: Thursday, October 13, 2005 11:06 PM
> > > > To: user-cs@ibatis.apache.org
> > > > Subject: Re: ConfigureAndWatch Performance Issue
> > > >
> > > > Is it ok if I include your VB.Net code in the IBatisNet
> > DataMapper
> > > > documentation so other people can use it?
> > > >
> > > > --- Cynthia Torres <ctorres@softekpr.com> wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > >
> > > > >
> > > > > I'm newer to iBatis. I'm experiencing some performance issues
> > > with
> > > > > the
> > > > > ConfigureAndWatch method, it takes about 6 seconds in been
> > > executed
> > > > > the
> > > > > first time is called. The language I'm using is vb.net<http://vb.net>.
> I
> > have
> > > > > translated the code from c# to vb because I didn't find and
> > > example
> > > > > in
> > > > > vb. Please tell me if I have something wrong in my code or if
> > is
> > > a
> > > > > performance issue of iBatis.
> > > > >
> > > > >
> > > > >
> > > > > I will appreciate any help you guys can give me.
> > > > >
> > > > >
> > > > >
> > > > > Imports IBatisNet.DataMapper
> > > > >
> > > > > Imports IBatisNet.Common.Utilities
> > > > >
> > > > > Namespace Mapper
> > > > >
> > > > > Public MustInherit Class BaseServiceConfig
> > > > >
> > > > > Private Shared mapper As SqlMapper = Nothing
> > > > >
> > > > >
> > > > >
> > > > > Protected Shared Sub Configure(ByVal obj As Object)
> > > > >
> > > > > mapper = CType(obj, SqlMapper)
> > > > >
> > > > > End Sub 'Configure
> > > > >
> > > > >
> > > > >
> > > > > Protected Shared Sub InitMapper()
> > > > >
> > > > > Dim handler As New ConfigureHandler(AddressOf
> > > > Configure)
> > > > >
> > > > > mapper = SqlMapper.ConfigureAndWatch(handler)
> > > > >
> > > > > End Sub 'InitMapper
> > > > >
> > > > >
> > > > >
> > > > > Public Shared Function GetMapper() As SqlMapper
> > > > >
> > > > > If mapper Is Nothing Then
> > > > >
> > > > > SyncLock GetType(SqlMapper)
> > > > >
> > > > > If mapper Is Nothing Then ' double-check
> > > > >
> >
> === message truncated ===
>
>

Mime
View raw message