Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 89699 invoked from network); 27 Jun 2006 14:44:20 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 27 Jun 2006 14:44:20 -0000 Received: (qmail 29212 invoked by uid 500); 27 Jun 2006 14:44:18 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 29188 invoked by uid 500); 27 Jun 2006 14:44:17 -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 29177 invoked by uid 99); 27 Jun 2006 14:44:17 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 07:44:17 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of serafin.orillan@isotrol.com designates 83.175.206.228 as permitted sender) Received: from [83.175.206.228] (HELO isotrol.com) (83.175.206.228) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Jun 2006 07:44:15 -0700 Received: from localhost (localhost [127.0.0.1]) by isotrol.com (Postfix) with ESMTP id 8E9FB6C313 for ; Tue, 27 Jun 2006 16:43:52 +0200 (CEST) Received: from isotrol.com ([127.0.0.1]) by localhost (srv007.red.isotrol.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 01029-01-36 for ; Tue, 27 Jun 2006 16:43:52 +0200 (CEST) Received: from [127.0.0.1] (tierra.red.isotrol.com [192.168.102.198]) by isotrol.com (Postfix) with ESMTP id C011A6C27A for ; Tue, 27 Jun 2006 16:43:51 +0200 (CEST) Message-ID: <44A1442F.3070305@isotrol.com> Date: Tue, 27 Jun 2006 16:43:59 +0200 From: =?ISO-8859-1?Q?Seraf=EDn_Orill=E1n_Chaparro?= User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: es-es, es MIME-Version: 1.0 To: user-java@ibatis.apache.org Subject: Re: Error using caches ("There is no statement named...") References: <50CA25BD6EEA954FA592C097399942E313A8059D@CM1.wis.local> In-Reply-To: <50CA25BD6EEA954FA592C097399942E313A8059D@CM1.wis.local> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at isotrol.com X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Yes, it exists. Here i paste the complete Operadores.xml file: INSERT INTO GSM_V_OPERADORES (TELEFONO, NOMBRE, ID_PERFIL, ID_PARQUE, HABILITADO, ENVIO_AUTO, HORARIO_ENVIO_AUTO, DIAS_SEMANA, HORA_INI, HORA_FIN) VALUES (#telefono#, #nombre#, #perfil#, #idParque#, #habilitado,javaType=java.lang.Boolean,handler=com.isotrol.navantia.sms.accesoBD.dao.ManejadoresTipos.ManejadorTipoBoolean#, #envioAutomatico,javaType=java.lang.Boolean,handler=com.isotrol.navantia.sms.accesoBD.dao.ManejadoresTipos.ManejadorTipoBoolean#, #horarioEnvioAutomatico#, #periodoRecepcion,javaType=java.lang.Integer,handler=com.isotrol.navantia.sms.accesoBD.dao.ManejadoresTipos.ManejadorTipoPeriodoRecepcion#, #horarioRecepcionDesde#, #horarioRecepcionHasta#) UPDATE GSM_V_OPERADORES SET TELEFONO = #telefono# NOMBRE = #nombre# ID_PERFIL = #perfil# ID_PARQUE = #idParque# HABILITADO = #habilitado,javaType=java.lang.Boolean,handler=com.isotrol.navantia.sms.accesoBD.dao.ManejadoresTipos.ManejadorTipoBoolean# ENVIO_AUTO = #envioAutomatico,javaType=java.lang.Boolean,handler=com.isotrol.navantia.sms.accesoBD.dao.ManejadoresTipos.ManejadorTipoBoolean# HORARIO_ENVIO_AUTO = #horarioEnvioAutomatico# DIAS_SEMANA = #periodoRecepcion,javaType=java.lang.Integer,handler=com.isotrol.navantia.sms.accesoBD.dao.ManejadoresTipos.ManejadorTipoPeriodoRecepcion# HORA_INI = #horarioRecepcionDesde# HORA_FIN = #horarioRecepcionHasta# WHERE TELEFONO = #telefono# DELETE FROM GSM_TELEFONOS WHERE TELEFONO = #telefono# Niels Beekman escribi�: >Does the "modificacion" exist somewhere in your sqlmap-file? You excluded some parts by replacing it with "<...>", so I cannot verify that. > >Second, the commented select uses a resultClass while the uncommented select uses a resultMap, but I don't think that matters in this case. > >Niels > >-----Original Message----- >From: Seraf�n Orill�n Chaparro [mailto:serafin.orillan@isotrol.com] >Sent: dinsdag 27 juni 2006 13:41 >To: user-java@ibatis.apache.org >Subject: Re: Error using caches ("There is no statement named...") > >Sure! > >Here you have my Operadores.xml map file. The problem arises when i >discomment out the cacheModel declaration, no matter if i use it in the >select statement or not. > > > > > > > > > javaType="java.lang.String" jdbcType="VARCHAR"/> > javaType="java.lang.String" jdbcType="VARCHAR"/> > javaType="boolean" jdbcType="INTEGER" > >typeHandler="com.isotrol.navantia.sms.accesoBD.dao.ManejadoresTipos.ManejadorTipoBoolean"/> > javaType="int" jdbcType="VARCHAR" > >typeHandler="com.isotrol.navantia.sms.accesoBD.dao.ManejadoresTipos.ManejadorTipoPeriodoRecepcion" >/> > jdbcType="INTEGER"/> > javaType="java.lang.String" jdbcType="VARCHAR"/> > javaType="java.lang.String" jdbcType="VARCHAR"/> > javaType="java.lang.String" jdbcType="VARCHAR"/> > javaType="java.lang.String" jdbcType="VARCHAR" > >typeHandler="com.isotrol.navantia.sms.accesoBD.dao.ManejadoresTipos.ManejadorTipoBoolean"/> > column="HORARIO_ENVIO_AUTO" javaType="java.lang.String" jdbcType="VARCHAR"/> > > > > > > > <...> > > > > > -- Seraf�n Orill�n Chaparro Isotrol S.A. Avda. de la Innovaci�n 1, 3� planta +34 955 036 800 e-mail: serafin.orillan@isotrol.com