Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 13965 invoked from network); 3 Dec 2008 14:17:34 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2008 14:17:34 -0000 Received: (qmail 32237 invoked by uid 500); 3 Dec 2008 14:17:42 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 32227 invoked by uid 500); 3 Dec 2008 14:17:42 -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 32197 invoked by uid 99); 3 Dec 2008 14:17:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 06:17:42 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of icarusdb@gmail.com designates 74.125.44.152 as permitted sender) Received: from [74.125.44.152] (HELO yx-out-1718.google.com) (74.125.44.152) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Dec 2008 14:16:16 +0000 Received: by yx-out-1718.google.com with SMTP id 4so1847198yxp.6 for ; Wed, 03 Dec 2008 06:17:04 -0800 (PST) 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:mime-version:content-type:content-transfer-encoding :content-disposition; bh=Rh5stY5OMs/C7q/ACoC+zaKQZmjxfzDDMr4+wyn1kak=; b=FK3CLZKti9rhYkG46T8XeET/q+vpw6BC1OW6qPIXHxE1FUwECzXT8uLpX5MislQdQ/ QBsZWAn6Obr+PZJS+w/UZN0x6eDzKEriywl3mL5UUjwel+/bs3U2bs22WJ5S8azL87j1 wDr7x+5Ox5ggS9VaT+SRn6gJ54/P/1/+BwHLY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=XEkoYl8i5jd9KhPRmtDUN9zpO1P6UcZI88tkOr6PAw+M0Fof0PaqEjS4W//a3zCsUf gDKSkm7uIiQjssJdjSNRqD3txL/ywsFbb0w5XyT4KgZL8pTutSSgiqyPOhIv9kKdEPCt nyOiBs6MiNveBAMQenKlFlxiymid7QyCsJ5ok= Received: by 10.100.106.12 with SMTP id e12mr7650572anc.18.1228313824031; Wed, 03 Dec 2008 06:17:04 -0800 (PST) Received: by 10.100.105.11 with HTTP; Wed, 3 Dec 2008 06:17:03 -0800 (PST) Message-ID: <66e1c2180812030617t4c278976j6cdf48ae98913e97@mail.gmail.com> Date: Wed, 3 Dec 2008 10:17:03 -0400 From: "Betto McRose Gamarra" To: "ibatis java users" Subject: blob type support... MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Checked: Checked by ClamAV on apache.org hi all this is the error trace: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Caused by: java.lang.RuntimeException: Error lazy loading result. Cause: com.ibatis.common.jdbc.exception.NestedSQLException: --- The error occurred in py/com/sif/dna/sgc/persistence/sqlmap/sql/RevisionDocumento.xml. --- The error occurred while applying a result map. --- Check the RevisionDocumento.getRevisionDocumentoByDocumentoSgcId-AutoRe= sultMap. --- Check the result mapping for the 'imagen' property. --- Cause: com.ibatis.sqlmap.client.SqlMapException: No type handler could be found to map the property 'imagen' to the column 'IMAGEN'. One or both of the types, or the combination of types is not supported. =09at com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoad= er$EnhancedLazyResultLoaderImpl.loadObject(EnhancedLazyResultLoader.java:13= 9) =09at com.ibatis.sqlmap.engine.mapping.result.loader.EnhancedLazyResultLoad= er$EnhancedLazyResultLoaderImpl.invoke(EnhancedLazyResultLoader.java:120) =09at $java.util.Set$$EnhancerByCGLIB$$b291e667.iterator() this is sql statement: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D SELECT RD.ID AS id, RD.ID_DOCUMENTO AS idDocumento, RD.REVISION AS revision, RD.FECHA_INGRESO AS fechaIngreso, RD.FECHA_INICIO_VIG AS fechaInicioVigencia, RD.IMAGEN AS imagen, RD.APROBADO AS aprobado, RD.ID_ULTIMO_USUARIO AS idUltimoUsuario, RD.FECHA_ULTIMA_ACT AS fechaUltimaAct, RD.TRN AS trn, SGC.NOMBRE AS nombreDocumento, SGC.ESTADO AS estadoCode, INFO.ABREVIATURA AS estadoAbreviatura, INFO.DESCRIPCION AS estadoDescripcion FROM REVISION_DOCUMENTO RD, DOCUMENTO_SGC SGC, INFO_REF_OPC INFO WHERE RD.ID_DOCUMENTO =3D SGC.ID AND SGC.ESTADO =3D INFO.ID everything else not showed like class name are correctly defined as you can see in my