Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 50327 invoked from network); 19 Aug 2009 16:17:18 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 19 Aug 2009 16:17:18 -0000 Received: (qmail 59421 invoked by uid 500); 19 Aug 2009 16:17:36 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 59358 invoked by uid 500); 19 Aug 2009 16:17:36 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 59345 invoked by uid 99); 19 Aug 2009 16:17:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 16:17:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Aug 2009 16:17:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 11371234C1EB for ; Wed, 19 Aug 2009 09:17:15 -0700 (PDT) Message-ID: <1725002882.1250698635069.JavaMail.jira@brutus> Date: Wed, 19 Aug 2009 09:17:15 -0700 (PDT) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-1107) Provide TraversableResolver for use with Bean Validation Factory In-Reply-To: <1716948525.1243517265600.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-1107?page=3Dcom.atlass= ian.jira.plugin.system.issuetabpanels:all-tabpanel ] Donald Woods updated OPENJPA-1107: ---------------------------------- Fix Version/s: (was: 2.0.0) 2.0.0-M3 > Provide TraversableResolver for use with Bean Validation Factory > ---------------------------------------------------------------- > > Key: OPENJPA-1107 > URL: https://issues.apache.org/jira/browse/OPENJPA-1107 > Project: OpenJPA > Issue Type: Sub-task > Components: validation > Affects Versions: 2.0.0-M2 > Reporter: Jeremy Bauer > Assignee: Donald Woods > Fix For: 2.0.0-M3 > > > Per the JPA 2.0 specification, a TraversableResolver must be provided in = order to meet the validation criteria outlined in section 3.6.1.2 of the 3/= 13/09 draft. > The validator instance that is used for automatic validation upon lifecyc= le events must use a TraversableResolver > that has the following behavior: > =E2=80=A2 Attributes that have not been loaded must not be loaded. > =E2=80=A2 Entity associations (single-valued or multi-valued) must not be= traversed. > These requirements guarantee that no unloaded attribute or association wi= ll be loaded by side effect and > that no entity will be validated more than once. > Embeddable attributes must be validated only if the Valid annotation has = been specified on them. > It is the responsibility of the persistence provider to pass an instance = implementing the javax.validation. > TraversableResolver interface to the Bean Validation provider by calling = ValidatorFactory. > usingContext().traversableResolver( --=20 This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.