Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 5911B632CB7 for ; Thu, 25 Mar 2010 19:31:35 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 87963-09 for ; Thu, 25 Mar 2010 22:31:18 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail63.csoft.net (mail63.csoft.net [205.205.214.4]) by mail.postgresql.org (Postfix) with ESMTP id B0587632909 for ; Thu, 25 Mar 2010 19:31:24 -0300 (ADT) Received: from mail63.csoft.net (localhost [127.0.0.1]) by mail63.csoft.net (Postfix) with ESMTP id 814F728436; Thu, 25 Mar 2010 18:31:22 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=csoft.net; h=date:from:to :cc:subject:in-reply-to:message-id:references:mime-version :content-type; s=sel1; bh=rrA6RbxCQJg9sGWjPwzAW+WnGg0=; b=AKWNdc CITGINusCSMbD1ntSjTpJd5CQFCeoPNnvC8euMHdvR0mJ5BIcWjZWU5l8DO7kImR yiRFQeOY73e1EeU7lRfKBFjkUCyumphJ+WqVx57K93vn3vI+rCPKNkkjykBW6gH1 mlDQszoH4xhO5Ku5nzMIUsa+QfMus05OOAC0w= Received: from leary.csoft.net (leary.csoft.net [205.205.214.5]) by mail63.csoft.net (Postfix) with ESMTP id 2997828432; Thu, 25 Mar 2010 18:31:22 -0400 (EDT) Received: by leary.csoft.net (Postfix, from userid 1112) id 930DAA3A2; Thu, 25 Mar 2010 18:31:21 -0400 (EDT) Date: Thu, 25 Mar 2010 18:31:20 -0400 (EDT) From: Kris Jurka X-X-Sender: books@leary.csoft.net To: Collin Peters cc: Maciek Sakrejda , pgsql-jdbc@postgresql.org Subject: Re: Problems with semicolon trying to create a trigger function via jdbc In-Reply-To: <7a8b7ba31003251443v74fe6df1mc412e0c03ba4cf3c@mail.gmail.com> Message-ID: References: <7a8b7ba31003251319y391cef47sff3c5ee3bba5eb4c@mail.gmail.com> <895e58dd1003251402t1d2a5ec9j6c3fe6dff87b7a0a@mail.gmail.com> <7a8b7ba31003251443v74fe6df1mc412e0c03ba4cf3c@mail.gmail.com> User-Agent: Alpine 2.00 (BSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.533 tagged_above=-10 required=5 tests=AWL=0.066, BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/61 X-Sequence-Number: 20401 On Thu, 25 Mar 2010, Collin Peters wrote: > I wasn't able to get the DriverManager.getConnection() approach to > work (still worked in the unit test, but not the running webapp), but > reverting to the old 'non-dollar' quoting approach worked. > I'd bet you have two different driver versions deployed to your webapp and you're getting an old version which doesn't understand dollar quotes. Try System.out.println(Class.forName("org.postgresql.Driver").getResource("/org/postgresql/Driver.class")); Kris Jurka