Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 68560 invoked from network); 7 Jul 2008 14:46:53 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 7 Jul 2008 14:46:53 -0000 Received: (qmail 55959 invoked by uid 500); 7 Jul 2008 14:46:53 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 55736 invoked by uid 500); 7 Jul 2008 14:46:52 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 55725 invoked by uid 99); 7 Jul 2008 14:46:52 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 07:46:52 -0700 X-ASF-Spam-Status: No, hits=2.0 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of clinton.begin@gmail.com designates 74.125.44.155 as permitted sender) Received: from [74.125.44.155] (HELO yx-out-1718.google.com) (74.125.44.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Jul 2008 14:45:59 +0000 Received: by yx-out-1718.google.com with SMTP id 4so409126yxp.6 for ; Mon, 07 Jul 2008 07:46:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type:references; bh=hydXjDYt5XONLic6LR1DnUgpoSXW9bjPuzj8W/RvpA4=; b=pIHl8ULWXmlszNKhmi8YKRdkp3895DZjfpzP4rfaRBAge8ngONLeko45Kdiq95hKqd tVQhU6UKoLCwF3/YlxKgJr3l6DlzhALe2HmslqtkPfUyBPzN/UzTC/KRWh+4KSCT8+DK 4iqTX+wu5LUqzOmZc+S++MHJ9cDiv5oIaobio= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:references; b=XKn8wr/EghTwQt2UYEqRvdEm0qlDA1q3dZ/oYEtlAJwqfr0OC6EIpn1s++fc999nOK qRq5MXyKVMkjGafzdDk+sK8wzy2ho35KW2FV8Y+HU8w17Fs5/wyC+maxboZLuxqUo1s3 UOUWSHgXbPdJvgX2g86tRzYTTTT3MG3fIEdek= Received: by 10.114.72.1 with SMTP id u1mr6393238waa.159.1215441979255; Mon, 07 Jul 2008 07:46:19 -0700 (PDT) Received: by 10.114.135.10 with HTTP; Mon, 7 Jul 2008 07:46:19 -0700 (PDT) Message-ID: <16178eb10807070746u1380763l3772bc948a8ffa61@mail.gmail.com> Date: Mon, 7 Jul 2008 08:46:19 -0600 From: "Clinton Begin" To: user-java@ibatis.apache.org Subject: Re: spring 2.5.5 and ibatis 2.3.2 In-Reply-To: <321539.44698.qm@web31306.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_14076_218119.1215441979260" References: <321539.44698.qm@web31306.mail.mud.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_14076_218119.1215441979260 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Our source always compiles. We have a continuous integration server that would alert us if it didn't. By practice the iBATIS trunk should be releasable if necessary. Which JDK/OS are you running? Clinton On Mon, Jul 7, 2008 at 8:39 AM, nch wrote: > > Well, the only reason why I didn't decide to go for 2.3.2 is that I was > confortable with 2.3.0 untill I found tomcat was not replicating sessions (I > need this for clustering). So I took a look to 2.3.1 release notes which > explicitly say "# [IBATIS-419] - LazyLoad object is not serializable." > > I tried to add the missing method to ExtendedSqlMapClient so, following > instructions at > http://opensource.atlassian.com/confluence/oss/display/IBATIS/Windows, I > checked out the sources from trunk but they don't compile at this moment or > ... at, least, I was not able to compile them. > > Cheers. > > ----- Original Message ---- > From: Clinton Begin > To: user-java@ibatis.apache.org > Sent: Monday, July 7, 2008 3:28:31 PM > Subject: Re: spring 2.5.5 and ibatis 2.3.2 > > Darn, I guess not enough people tested it while it was in Beta. :-/ > > Perhaps we need a more formal testing group that can commit to testing the > framework before we release it. I know Brandon uses Spring and did make a > couple of fixes for Spring, but he's just one person. > > Out of curiosity, why didn't you upgrade or at least test it while in > Beta? > > In a nutshell, the answer to your question is this: > > * We've deprecated a lot of internal interfaces in the core of iBATIS > 2.3.2, in order to clean up the code. One of those interfaces was > ExtendedSqlMapClient. > > * Code that used to cast (or othewise use) ExtendedSqlMapClient should > now simply use SqlMapClientImpl (the default implementation behind the > SqlMapClient interface). > > Cheers, > Clinton > > On Mon, Jul 7, 2008 at 2:41 AM, nch wrote: > >> >> Hi, there. >> >> I'm trying iBatis 2.3.2 with Spring 2.5.5. >> Spring is complaining it can not find method >> com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient.getMappedStatement >> This method was present in iBatis 2.3.0. >> Is there a workaround I can take to make it work? >> I need to test this cause it seems proxies coming from iBatis are now >> serializable, so I can replicate sessions amont tomcat instances. >> >> Cheers >> >> > > ------=_Part_14076_218119.1215441979260 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Our source always compiles.   We have a continuous integration server that would alert us if it didn't. By practice the iBATIS trunk should be releasable if necessary.

Which JDK/OS are you running?

Clinton

On Mon, Jul 7, 2008 at 8:39 AM, nch <underscore_dot@yahoo.com> wrote:

Well, the only reason why I didn't decide to go for 2.3.2 is that I was confortable with 2.3.0 untill I found tomcat was not replicating sessions (I need this for clustering). So I took a look to 2.3.1 release notes which explicitly say "# [IBATIS-419] - LazyLoad object is not serializable."

I tried to add the missing method to ExtendedSqlMapClient so, following instructions at http://opensource.atlassian.com/confluence/oss/display/IBATIS/Windows, I checked out the sources from trunk but they don't compile at this moment or ... at, least, I was not able to compile them.

Cheers.

----- Original Message ----
From: Clinton Begin <clinton.begin@gmail.com>
To: user-java@ibatis.apache.org
Sent: Monday, July 7, 2008 3:28:31 PM
Subject: Re: spring 2.5.5 and ibatis 2.3.2

Darn, I guess not enough people tested it while it was in Beta.  :-/

Perhaps we need a more formal testing group that can commit to testing the framework before we release it.  I know Brandon uses Spring and did make a couple of fixes for Spring, but he's just one person. 

Out of curiosity, why didn't you upgrade or at least test it while in Beta? 

In a nutshell, the answer to your question is this:

  * We've deprecated a lot of internal interfaces in the core of iBATIS 2.3.2, in order to clean up the code.  One of those interfaces was ExtendedSqlMapClient.

  * Code that used to cast (or othewise use) ExtendedSqlMapClient should now simply use SqlMapClientImpl (the default implementation behind the SqlMapClient interface).

Cheers,
Clinton

On Mon, Jul 7, 2008 at 2:41 AM, nch <underscore_dot@yahoo.com> wrote:

Hi, there.

I'm trying iBatis 2.3.2 with Spring 2.5.5.
Spring is complaining it can not find method com.ibatis.sqlmap.engine.impl.ExtendedSqlMapClient.getMappedStatement
This method was present in iBatis 2.3.0.
Is there a workaround I can take to make it work?
I need to test this cause it seems proxies coming from iBatis are now serializable, so I can replicate sessions amont tomcat instances.

Cheers




------=_Part_14076_218119.1215441979260--