You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-java@ibatis.apache.org by Gwyn Evans <gw...@gmail.com> on 2007/07/10 18:35:05 UTC
Caching frameworks (was Re: iBATIS Survey (10 Minutes))
I'd rather like to see if there's anything comparing EHCache with JCS,
as http://jakarta.apache.org/jcs/JCSvsEHCache.html makes some fairly
significant claims about JCS being better.
/Gwyn
On Tuesday, July 10, 2007, 3:57:31 AM, Clinton <cl...@gmail.com> wrote:
> The cache model is one part of the architecture that is already
> pluggable. You could write a plugin today to use it.
> I do agree. I know the developer of EHCache (smart guy) and I believe
> it's under an Apache compatible license too.
> Cheers,
> Clinton
> On 7/9/07, Jiming Liu <ji...@gmail.com> wrote:
>> I filled the survery, but forgot fill a suggestion.
>>
>> What do you guys think using EHCache take place of OSCache in next version?
>> I think EHCache is more clear and powerful than OSCache and some benchmarks
>> say EHCache is much faster. BTW, Spring use EHCache by default.
Re: implicit parameter map and Integer
Posted by Jeff Butler <je...@gmail.com>.
You need to specify the JDBC type in the implicit parameter map like this:
insert into foo (bar) values(#bar:INTEGER#)
See the section entitled "Inline Parameter Map Syntax" in the developer's
guide.
Jeff Butler
On 7/11/07, Severin Ecker <se...@gmx.at> wrote:
>
> hi,
>
> maybe i'm just being stupid, but do i have to make some special
> arrangements so that setting 'null' into a column of type INTEGER works
> (the mapped java type is java.lang.Integer). i always get an exception
> because of an unknown jdbcType (the debugger tells me that the jdbcType
> for it is 0...)
>
> but when i use an explicit parameterMap stating both java and jdbc type
> it works.
>
> can i avoid the need for a parameterMap or do i have to do it that way?
>
> thanks in advance!
>
> cheers,
> severin
>
>
implicit parameter map and Integer
Posted by Severin Ecker <se...@gmx.at>.
hi,
maybe i'm just being stupid, but do i have to make some special
arrangements so that setting 'null' into a column of type INTEGER works
(the mapped java type is java.lang.Integer). i always get an exception
because of an unknown jdbcType (the debugger tells me that the jdbcType
for it is 0...)
but when i use an explicit parameterMap stating both java and jdbc type
it works.
can i avoid the need for a parameterMap or do i have to do it that way?
thanks in advance!
cheers,
severin
Re: Caching frameworks (was Re: iBATIS Survey (10 Minutes))
Posted by Gwyn Evans <gw...@gmail.com>.
On Tuesday, July 10, 2007, 5:38:22 PM, Clinton <cl...@gmail.com> wrote:
> iBATIS 3.0 will change the approach we take to plugins. We'll
> probably host plugins somewhere else and open up the access to the
> code more than the core.
We did that with the Wicket-stuff[*] companion project, which seems to
be working fine. Having it as a separate SF project means that it
doesn't restrict it to using only ASF-compatible libraries, too.
/Gwyn
[*] http://sourceforge.net/projects/wicket-stuff/
or http://wicketstuff.org/confluence/display/STUFFWEB/Home
Re: Caching frameworks (was Re: iBATIS Survey (10 Minutes))
Posted by Clinton Begin <cl...@gmail.com>.
It's pluggable anyway, so we don't need to choose! :-)
iBATIS 3.0 will change the approach we take to plugins. We'll
probably host plugins somewhere else and open up the access to the
code more than the core.
Clinton
On 7/10/07, Gwyn Evans <gw...@gmail.com> wrote:
> I'd rather like to see if there's anything comparing EHCache with JCS,
> as http://jakarta.apache.org/jcs/JCSvsEHCache.html makes some fairly
> significant claims about JCS being better.
>
> /Gwyn
>
> On Tuesday, July 10, 2007, 3:57:31 AM, Clinton <cl...@gmail.com> wrote:
>
> > The cache model is one part of the architecture that is already
> > pluggable. You could write a plugin today to use it.
>
> > I do agree. I know the developer of EHCache (smart guy) and I believe
> > it's under an Apache compatible license too.
>
> > Cheers,
> > Clinton
>
> > On 7/9/07, Jiming Liu <ji...@gmail.com> wrote:
> >> I filled the survery, but forgot fill a suggestion.
> >>
> >> What do you guys think using EHCache take place of OSCache in next version?
> >> I think EHCache is more clear and powerful than OSCache and some benchmarks
> >> say EHCache is much faster. BTW, Spring use EHCache by default.
>
>
>