Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 95650 invoked from network); 14 Sep 2009 13:40:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 14 Sep 2009 13:40:20 -0000 Received: (qmail 93137 invoked by uid 500); 14 Sep 2009 13:40:20 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 93035 invoked by uid 500); 14 Sep 2009 13:40:20 -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 92975 invoked by uid 99); 14 Sep 2009 13:40:20 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Sep 2009 13:40:20 +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; Mon, 14 Sep 2009 13:40:18 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B80E5234C1E7 for ; Mon, 14 Sep 2009 06:39:57 -0700 (PDT) Message-ID: <1960854164.1252935597752.JavaMail.jira@brutus> Date: Mon, 14 Sep 2009 06:39:57 -0700 (PDT) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Work started: (OPENJPA-1237) WriteBehind configuration exception not thrown when it should be In-Reply-To: <559589693.1249969275179.JavaMail.jira@brutus> 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/OPENJPA-1237?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Work on OPENJPA-1237 started by Donald Woods. > WriteBehind configuration exception not thrown when it should be > ---------------------------------------------------------------- > > Key: OPENJPA-1237 > URL: https://issues.apache.org/jira/browse/OPENJPA-1237 > Project: OpenJPA > Issue Type: Sub-task > Components: writebehind > Affects Versions: 2.0.0 > Reporter: Tim McConnell > Assignee: Donald Woods > Fix For: 2.0.0 > > Attachments: OPENJPA-1237-3.patch > > > It seems like there should be exception(s) thrown when the new writebehind cache is not configured properly. For example, this is not a valid PU configuration since there is no DataCache specified. > > META-INF/orm.xml > > > > > > > Yet there is no error or exception thrown when this statement is executed: > emf = Persistence.createEntityManagerFactory("WriteBehind_JSE_INVALID_PU1"); -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.