Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 70515 invoked from network); 13 Mar 2010 01:04:29 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 13 Mar 2010 01:04:29 -0000 Received: (qmail 6788 invoked by uid 500); 13 Mar 2010 01:03:51 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 6766 invoked by uid 500); 13 Mar 2010 01:03:51 -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 6758 invoked by uid 99); 13 Mar 2010 01:03:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 13 Mar 2010 01:03:51 +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; Sat, 13 Mar 2010 01:03:50 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 22FC929A0013 for ; Sat, 13 Mar 2010 01:03:30 +0000 (UTC) Message-ID: <479708383.240991268442210142.JavaMail.jira@brutus.apache.org> Date: Sat, 13 Mar 2010 01:03:30 +0000 (UTC) From: "Jerry Carter (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Updated: (OPENJPA-1562) EntityManager:Refresh on Removed entity does not trigger IllegalArgumentException In-Reply-To: <2082585405.208181268330067555.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jerry Carter updated OPENJPA-1562: ---------------------------------- Priority: Minor (was: Major) Summary: EntityManager:Refresh on Removed entity does not trigger IllegalArgumentException (was: Basic negative tests of the EntityManager fail) Revised the bug description to reflect the narrowed scope and changed the state to minor as there are clear workarounds. > EntityManager:Refresh on Removed entity does not trigger IllegalArgumentException > --------------------------------------------------------------------------------- > > Key: OPENJPA-1562 > URL: https://issues.apache.org/jira/browse/OPENJPA-1562 > Project: OpenJPA > Issue Type: Bug > Affects Versions: 2.0.0-beta2 > Environment: Mac OS X, OpenJPA 2.0.0-beta2, Spring 3.0 > Reporter: Jerry Carter > Assignee: Dianne Richards > Priority: Minor > Attachments: openjpa1562.tar.zip, simple_entity_tests.txt > > > My application unit tests turned up some unexpected behavior from basic OpenJPA entity manager functions. It appears, for instance, that a detached entity can still be refreshed. I decided to write a few basic tests (attached) which report five potential errors. This does not go into the testing of cascading behavior which would require additional work. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.