Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 48681 invoked from network); 25 Sep 2006 15:39:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Sep 2006 15:39:50 -0000 Received: (qmail 83461 invoked by uid 500); 25 Sep 2006 15:39:45 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 83425 invoked by uid 500); 25 Sep 2006 15:39:44 -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 83355 invoked by uid 99); 25 Sep 2006 15:39:44 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 25 Sep 2006 08:39:44 -0700 Authentication-Results: idunn.apache.osuosl.org smtp.mail=larry.meadors@gmail.com; spf=pass Authentication-Results: idunn.apache.osuosl.org header.from=larry.meadors@gmail.com; domainkeys=good X-ASF-Spam-Status: No, hits=0.5 required=5.0 tests=DNS_FROM_RFC_ABUSE Received-SPF: pass (idunn.apache.osuosl.org: domain gmail.com designates 64.233.182.188 as permitted sender) DomainKey-Status: good X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 Received: from [64.233.182.188] ([64.233.182.188:25021] helo=nf-out-0910.google.com) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id 5F/CA-13750-AD7F7154 for ; Mon, 25 Sep 2006 08:38:14 -0700 Received: by nf-out-0910.google.com with SMTP id l23so1615678nfc for ; Mon, 25 Sep 2006 08:36:50 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=GPUCDnaWr511EHRQhrbz1K5pk2ArMHAoggpW7D4ykvt3z6bfyGd00jKwxwDd1vx4SZGINLHaeVL+mnnEVZ+orTBBU1Blkefs0QI3gUbdFfH1uHp7QRcZ03hks2ZFAyxjgTtZnFdsuRO0WMlC3o8bZR66oE6DvCbhSyWn721VzCo= Received: by 10.48.254.1 with SMTP id b1mr1618577nfi; Mon, 25 Sep 2006 08:36:49 -0700 (PDT) Received: by 10.49.91.13 with HTTP; Mon, 25 Sep 2006 08:36:49 -0700 (PDT) Message-ID: Date: Mon, 25 Sep 2006 09:36:49 -0600 From: "Larry Meadors" Reply-To: lmeadors@apache.org Sender: larry.meadors@gmail.com To: user-java@ibatis.apache.org Subject: Re: JavaScript + iBATIS In-Reply-To: <017101c6e0a9$4187c6f0$c49754d0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <16178eb10609241858h1b6bb4d0x370537b935e1db7a@mail.gmail.com> <20060925023504.6478.qmail@web34705.mail.mud.yahoo.com> <017101c6e0a9$4187c6f0$c49754d0$@com> X-Google-Sender-Auth: 041d6e6a7104e783 X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N One approach that I have seen with good results is working with JSON to create javascript objects with jsp. Larry On 9/25/06, Levan Dvalishvili wrote: > I would say returning XML instead of java bean and sending it to client > would be one of the straight forward ways to do it would not it? Maybe > running a little XSL filter prior ? > > > Levan Dvalishvili > Support LeadUS > Verticali,Inc > (646) 736 - 6075 > > > -----Original Message----- > From: Fred Janon [mailto:fjanon@yahoo.com] > Sent: Sunday, September 24, 2006 10:35 PM > To: user-java@ibatis.apache.org > Subject: JavaScript + iBATIS > > Hi Clinton, > > I am very interested in seeing what you did with JavaScript & iBATIS. I a= m > working on a Javascript framework and iBatis seems an appealing option to= do > the peristence part of it > > Fred > > --- Clinton Begin wrote: > > > Hi there, > > > > I don't have any plans. But I just did my iBATIS/Ajax demo in a talk > > at NFJS yesterday. It is pretty cool. I may put together a more > > complete example to publish somewhere. I'd be interested in knowing > > if people would considering building apps this way... > > > > Think just JavaScript + iBATIS. > > > > Clinton > > > > On 9/24/06, levan Dvalishvili wrote: > > > > > > Hi Clinton, I saw list of events on the website, is there any > > plans > > > visiting New York, in near future,monthly meetings of > > www.*nyjavasig* > > > .com/would be good place to give speech, "Ibatis Does AjAX > > presentation " > > > would be a bliss. (please J ) > > > > > > > > > > > > > > > > > > *From:* nando.dev [mailto:nando.dev@gmail.com] > > > *Sent:* Saturday, September 23, 2006 3:41 PM > > > *To:* user-java@ibatis.apache.org > > > *Subject:* Re: question with boolean types.. > > > > > > > > > > > > Hi Esperanza, the problem do you have is the type boolean of pl/sql > > isn=B4t > > > standard of JDBC, so do you have to write a wrapper to this > > function. > > > > > > 2006/6/26, Esperanza.Echeverria@steria.es > > > > >: > > > > > > > > > please, can anyone help me? > > > my problem is calling a stored procedure in ibatis and this > > functioncalled in pl/sql returns a boolean and i don=B4t know what are > > the correct > > > types in this case to be put in for no obtain an error ... > > > > > > > > > > > java.lang.Boolean" mode=3D"OUT"/> > > > > > java.lang.String" mode=3D"IN"/> > > > > > java.lang.String" mode=3D"IN"/> > > > > > java.lang.String" mode=3D"IN"/> > > > > > java.lang.String" mode=3D"IN"/> > > > > > > > parameterMap=3D"misParametros" > > > > {? =3D call report.tiene_duplicados(?,?,?,?)} > > > > > > > > > the out parameter tells me an error : > > > DEBUG - {conn-100021} Connection > > > DEBUG - {pstm-100022} PreparedStatement: {? =3D call > > report.tiene_duplicados > > > (?,?,?,?)} > > > DEBUG - {pstm-100022} Parameters: [JOSELUIS, sip97.rep, > > VCENTRO=3D90101, > > > 19-06-2006] > > > DEBUG - {pstm-100022} Types: [java.lang.String, java.lang.String, > > > java.lang.String, java.lang.String] DEBUG - Initializing, > > config=3D'org.apache.struts.action.LocalStrings', > > > returnNull=3Dtrue > > > 06/06/26 08:47:37 DaoException > > > ERROR - Ha ocurrido un error con la base de datos > > > com.ibatis.dao.client.DaoException: Failed to execute > > queryForObject - id > > > [ejecutaTieneDuplicados], parameterObject > > [{parametro4=3DVCENTRO=3D90101, > > > parametro2=3DJOSELUIS, parametro3=3Dsip97.rep , parametro1=3Dtrue, > > > parametro5=3D19-06-2006}]. Cause: > > > com.ibatis.common.jdbc.exception.NestedSQLException: > > > --- The error occurred in > > > com/ibatis/sip/persistence/sqlmapdao/sql/Lis.xml. > > > --- The error occurred while applying a parameter map. > > > --- Check the Lis.misParametros. > > > --- Check the statement (update procedure failed). > > > --- Cause: java.sql.SQLException: ORA-06550: l=EDnea 1, columna 13: > > > PLS-00382: el tipo de la expresi=F3n no es correcto > > > ORA-06550: l=EDnea 1, columna 7: > > > PL/SQL: Statement ignored > > > > > > > > > > > > *Esperanza Echeverr=EDa de Miguel* > > > Steria Espa=F1a http://www.steria.es > > > C/Men=E9ndez y Pelayo,3 bis 46010 Valencia > > > Tel: + 34 96 393 87 50 Fax: +34 96 393 87 51 > > > esperanza.echeverria@steria.es > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >