Return-Path: X-Original-To: apmail-commons-issues-archive@minotaur.apache.org Delivered-To: apmail-commons-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 168CE9BD6 for ; Thu, 3 May 2012 16:05:12 +0000 (UTC) Received: (qmail 66804 invoked by uid 500); 3 May 2012 16:05:11 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 66699 invoked by uid 500); 3 May 2012 16:05:11 -0000 Mailing-List: contact issues-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: issues@commons.apache.org Delivered-To: mailing list issues@commons.apache.org Received: (qmail 66691 invoked by uid 99); 3 May 2012 16:05:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 16:05:11 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 03 May 2012 16:05:10 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 7B1E942EC37 for ; Thu, 3 May 2012 16:04:50 +0000 (UTC) Date: Thu, 3 May 2012 16:04:50 +0000 (UTC) From: "Hasan Ceylan (JIRA)" To: issues@commons.apache.org Message-ID: <1308392393.22392.1336061090506.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Created] (DBUTILS-90) fillStatement should handle BLOBS and alikes correctly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Hasan Ceylan created DBUTILS-90: ----------------------------------- Summary: fillStatement should handle BLOBS and alikes correctly Key: DBUTILS-90 URL: https://issues.apache.org/jira/browse/DBUTILS-90 Project: Commons DbUtils Issue Type: Bug Affects Versions: 1.4 Environment: $ uname -a Linux ceylan 3.2.0-24-generic #38-Ubuntu SMP Tue May 1 16:18:50 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux $ java -version java version "1.7.0_03" OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu2) OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode) Reporter: Hasan Ceylan According to JDBC Spec http://docs.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html#setObject(int, java.lang.Object) certain types cannot be passed to setObject. DBUtils currently uses setObject for all the types. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira