Return-Path: X-Original-To: apmail-tomcat-dev-archive@www.apache.org Delivered-To: apmail-tomcat-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B90B43710 for ; Mon, 2 May 2011 17:54:30 +0000 (UTC) Received: (qmail 77261 invoked by uid 500); 2 May 2011 17:54:29 -0000 Delivered-To: apmail-tomcat-dev-archive@tomcat.apache.org Received: (qmail 77196 invoked by uid 500); 2 May 2011 17:54:29 -0000 Mailing-List: contact dev-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Developers List" Delivered-To: mailing list dev@tomcat.apache.org Received: (qmail 77187 invoked by uid 99); 2 May 2011 17:54:29 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 17:54:29 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 02 May 2011 17:54:27 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 57101488F2; Mon, 2 May 2011 17:53:48 +0000 (UTC) From: bugzilla@apache.org To: dev@tomcat.apache.org Subject: DO NOT REPLY [Bug 48817] Skip validation query and use JDBC API for validation Date: Mon, 02 May 2011 17:53:48 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Tomcat Modules X-Bugzilla-Component: jdbc-pool X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gtaylor@pgac.com X-Bugzilla-Status: RESOLVED X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dev@tomcat.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Attachment #26944 is obsolete Message-ID: In-Reply-To: References: X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=48817 Glen Taylor changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #26944|0 |1 is obsolete| | --- Comment #23 from Glen Taylor 2011-05-02 17:53:48 UTC --- Created attachment 26948 --> https://issues.apache.org/bugzilla/attachment.cgi?id=26948 Updated example implementation for Jdbc4 Validator Updating earlier example JDBC4 Validator implementation. I hadn't noticed that *applying* the configured properties is left to the implementation class. I "assumed" some sort of bean-property/reflection thing. Sorry, I was a total doofus for posting the earlier implementation without confirming that the property application actually happened. I've now tested that this version works (depends on the ConnectionPool patch from my previous comment). Finally, I'm satisfied that this is a "good-enough" solution for Validator configuration. It's a little awkward/indirect, but it uses existing/tested/documented functionality, which is a Good Thing. Thanks... -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org For additional commands, e-mail: dev-help@tomcat.apache.org