You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ibatis.apache.org by David Welton <da...@gmail.com> on 2006/11/18 10:24:56 UTC
Re: small rbatis patch, question
Is there even a JIRA category for this, or is it dead in the water?
Thanks,
Dave
On 10/20/06, David Welton <da...@gmail.com> wrote:
> Hi, rbatis is pretty neat looking for those of us stuck with legacy
> databases, although it certainly isn't as much fun as ActiveRecord.
>
> I created a small patch, because it was giving me a wonky error:
>
> --- rbatis/lib/rbatis.rb 2006-10-20 18:49:56.000000000 +0200
> +++ legacy/vendor/plugins/rbatis/lib/rbatis.rb 2006-10-20
> 19:05:37.000000000 +0200
> @@ -5,6 +5,7 @@
> # License:: Apache Version 2.0 (see http://www.apache.org/licenses/)
>
> require 'rbatis/sanitizer'
> +require 'pp'
>
> # Converts Fixnum from a database record.
> def Fixnum.from_database(record, column)
> @@ -111,6 +112,10 @@
> return nil unless record
> resultmap.map(record)
> end
> +
> + def validate
> + raise 'resultmap has not been specified' unless resultmap
> + end
> end
>
> class Statement
>
> I also have a question:
>
> It was giving me this error in the first place because I was defining
> my resultmap after writing the 'statement's. It seems wierd to me
> that this is necessary...
>
> --
> David N. Welton
> - http://www.dedasys.com/davidw/
>
> Linux, Open Source Consulting
> - http://www.dedasys.com/
>
--
David N. Welton
- http://www.dedasys.com/davidw/
Linux, Open Source Consulting
- http://www.dedasys.com/
Re: small rbatis patch, question
Posted by Clinton Begin <cl...@gmail.com>.
I made you the JIRA project owner, and a developer. I expect you should be
able to do everything.
Let me know if you can't.
Cheers,
Clinton
On 11/19/06, Jon Tirsen <jo...@tirsen.com> wrote:
>
> I will apply that patch as soon as possible.
>
> Clinton, do I just create a user and you assign me admin rights for
> RBATIS?
>
> Cheers,
> Jon
>
> On 19/11/2006, at 1:50 AM, Clinton Begin wrote:
>
> > Congratulations on being the first to need an issue or a new feature!
> >
> > rbatis has been slow on uptake, but is definitely not dead. I've
> > created a new JIRA project for rbatis, so you can file requests there.
> >
> > Also feel free to add anything rbatis related to the wiki if you like.
> >
> > https://issues.apache.org/jira/browse/RBATIS
> >
> > Clinton
> >
> > On 11/18/06, David Welton <da...@gmail.com> wrote:Is there
> > even a JIRA category for this, or is it dead in the water?
> >
> > Thanks,
> > Dave
> >
> > On 10/20/06, David Welton <da...@gmail.com> wrote:
> > > Hi, rbatis is pretty neat looking for those of us stuck with legacy
> > > databases, although it certainly isn't as much fun as ActiveRecord.
> > >
> > > I created a small patch, because it was giving me a wonky error:
> > >
> > > --- rbatis/lib/rbatis.rb 2006-10-20 18:49:56.000000000 +0200
> > > +++ legacy/vendor/plugins/rbatis/lib/rbatis.rb 2006-10-20
> > > 19:05:37.000000000 +0200
> > > @@ -5,6 +5,7 @@
> > > # License:: Apache Version 2.0 (see http://www.apache.org/
> > licenses/)
> > >
> > > require 'rbatis/sanitizer'
> > > +require 'pp'
> > >
> > > # Converts Fixnum from a database record.
> > > def Fixnum.from_database(record, column)
> > > @@ -111,6 +112,10 @@
> > > return nil unless record
> > > resultmap.map (record)
> > > end
> > > +
> > > + def validate
> > > + raise 'resultmap has not been specified' unless resultmap
> > > + end
> > > end
> > >
> > > class Statement
> > >
> > > I also have a question:
> > >
> > > It was giving me this error in the first place because I was
> > defining
> > > my resultmap after writing the 'statement's. It seems wierd to me
> > > that this is necessary...
> > >
> > > --
> > > David N. Welton
> > > - http://www.dedasys.com/davidw/
> > >
> > > Linux, Open Source Consulting
> > > - http://www.dedasys.com/
> > >
> >
> >
> > --
> > David N. Welton
> > - http://www.dedasys.com/davidw/
> >
> > Linux, Open Source Consulting
> > - http://www.dedasys.com/
> >
>
>
Re: small rbatis patch, question
Posted by Jon Tirsen <jo...@tirsen.com>.
I will apply that patch as soon as possible.
Clinton, do I just create a user and you assign me admin rights for
RBATIS?
Cheers,
Jon
On 19/11/2006, at 1:50 AM, Clinton Begin wrote:
> Congratulations on being the first to need an issue or a new feature!
>
> rbatis has been slow on uptake, but is definitely not dead. I've
> created a new JIRA project for rbatis, so you can file requests there.
>
> Also feel free to add anything rbatis related to the wiki if you like.
>
> https://issues.apache.org/jira/browse/RBATIS
>
> Clinton
>
> On 11/18/06, David Welton <da...@gmail.com> wrote:Is there
> even a JIRA category for this, or is it dead in the water?
>
> Thanks,
> Dave
>
> On 10/20/06, David Welton <da...@gmail.com> wrote:
> > Hi, rbatis is pretty neat looking for those of us stuck with legacy
> > databases, although it certainly isn't as much fun as ActiveRecord.
> >
> > I created a small patch, because it was giving me a wonky error:
> >
> > --- rbatis/lib/rbatis.rb 2006-10-20 18:49:56.000000000 +0200
> > +++ legacy/vendor/plugins/rbatis/lib/rbatis.rb 2006-10-20
> > 19:05:37.000000000 +0200
> > @@ -5,6 +5,7 @@
> > # License:: Apache Version 2.0 (see http://www.apache.org/
> licenses/)
> >
> > require 'rbatis/sanitizer'
> > +require 'pp'
> >
> > # Converts Fixnum from a database record.
> > def Fixnum.from_database(record, column)
> > @@ -111,6 +112,10 @@
> > return nil unless record
> > resultmap.map (record)
> > end
> > +
> > + def validate
> > + raise 'resultmap has not been specified' unless resultmap
> > + end
> > end
> >
> > class Statement
> >
> > I also have a question:
> >
> > It was giving me this error in the first place because I was
> defining
> > my resultmap after writing the 'statement's. It seems wierd to me
> > that this is necessary...
> >
> > --
> > David N. Welton
> > - http://www.dedasys.com/davidw/
> >
> > Linux, Open Source Consulting
> > - http://www.dedasys.com/
> >
>
>
> --
> David N. Welton
> - http://www.dedasys.com/davidw/
>
> Linux, Open Source Consulting
> - http://www.dedasys.com/
>
Re: small rbatis patch, question
Posted by Clinton Begin <cl...@gmail.com>.
Congratulations on being the first to need an issue or a new feature!
rbatis has been slow on uptake, but is definitely not dead. I've created a
new JIRA project for rbatis, so you can file requests there.
Also feel free to add anything rbatis related to the wiki if you like.
https://issues.apache.org/jira/browse/RBATIS
Clinton
On 11/18/06, David Welton <da...@gmail.com> wrote:
>
> Is there even a JIRA category for this, or is it dead in the water?
>
> Thanks,
> Dave
>
> On 10/20/06, David Welton <da...@gmail.com> wrote:
> > Hi, rbatis is pretty neat looking for those of us stuck with legacy
> > databases, although it certainly isn't as much fun as ActiveRecord.
> >
> > I created a small patch, because it was giving me a wonky error:
> >
> > --- rbatis/lib/rbatis.rb 2006-10-20 18:49:56.000000000 +0200
> > +++ legacy/vendor/plugins/rbatis/lib/rbatis.rb 2006-10-20
> > 19:05:37.000000000 +0200
> > @@ -5,6 +5,7 @@
> > # License:: Apache Version 2.0 (see http://www.apache.org/licenses/)
> >
> > require 'rbatis/sanitizer'
> > +require 'pp'
> >
> > # Converts Fixnum from a database record.
> > def Fixnum.from_database(record, column)
> > @@ -111,6 +112,10 @@
> > return nil unless record
> > resultmap.map(record)
> > end
> > +
> > + def validate
> > + raise 'resultmap has not been specified' unless resultmap
> > + end
> > end
> >
> > class Statement
> >
> > I also have a question:
> >
> > It was giving me this error in the first place because I was defining
> > my resultmap after writing the 'statement's. It seems wierd to me
> > that this is necessary...
> >
> > --
> > David N. Welton
> > - http://www.dedasys.com/davidw/
> >
> > Linux, Open Source Consulting
> > - http://www.dedasys.com/
> >
>
>
> --
> David N. Welton
> - http://www.dedasys.com/davidw/
>
> Linux, Open Source Consulting
> - http://www.dedasys.com/
>