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 13E2B998B for ; Mon, 14 Nov 2011 15:37:15 +0000 (UTC) Received: (qmail 33600 invoked by uid 500); 14 Nov 2011 15:37:15 -0000 Delivered-To: apmail-commons-issues-archive@commons.apache.org Received: (qmail 33515 invoked by uid 500); 14 Nov 2011 15:37:15 -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 33507 invoked by uid 99); 14 Nov 2011 15:37:15 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Nov 2011 15:37:15 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,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; Mon, 14 Nov 2011 15:37:13 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 629A38281B for ; Mon, 14 Nov 2011 15:36:52 +0000 (UTC) Date: Mon, 14 Nov 2011 15:36:52 +0000 (UTC) From: "Michael Akerman (Commented) (JIRA)" To: issues@commons.apache.org Message-ID: <1410197732.26941.1321285012418.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1066559881.14946.1310674740043.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (DBUTILS-77) "drop view" does not work from QueryRunner.update with SQLServer JDBC drivers. Same SQL works with a PreparedStatement just fine. 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 [ https://issues.apache.org/jira/browse/DBUTILS-77?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13149690#comment-13149690 ] Michael Akerman commented on DBUTILS-77: ---------------------------------------- Yes, sorry there was an exception: Exception in thread "main" java.sql.SQLException: com.microsoft.sqlserver.jdbc.SQLServerException: Unable to identify the table drop view sqlapps.rso_current_person for the metadata. Query: drop view sqlapps.rso_current_person Parameters: [] at org.apache.commons.dbutils.QueryRunner.rethrow(QueryRunner.java:540) at org.apache.commons.dbutils.QueryRunner.update(QueryRunner.java:597) > "drop view" does not work from QueryRunner.update with SQLServer JDBC drivers. Same SQL works with a PreparedStatement just fine. > ---------------------------------------------------------------------------------------------------------------------------------- > > Key: DBUTILS-77 > URL: https://issues.apache.org/jira/browse/DBUTILS-77 > Project: Commons DbUtils > Issue Type: Bug > Affects Versions: 1.3 > Environment: Java environment: Java 6 on Redhat Linux > Database enviroment: SQLServer 2008 > Reporter: Michael Akerman > Fix For: 1.5 > > -- 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