From dev-return-15611-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Thu Mar 11 19:49:25 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 99318 invoked from network); 11 Mar 2010 19:49:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Mar 2010 19:49:24 -0000 Received: (qmail 41831 invoked by uid 500); 11 Mar 2010 19:48:50 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 41801 invoked by uid 500); 11 Mar 2010 19:48:50 -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 41708 invoked by uid 99); 11 Mar 2010 19:48:50 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Mar 2010 19:48:50 +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; Thu, 11 Mar 2010 19:48:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5A025234C4CB for ; Thu, 11 Mar 2010 19:48:27 +0000 (UTC) Message-ID: <2119503875.211251268336907367.JavaMail.jira@brutus.apache.org> Date: Thu, 11 Mar 2010 19:48:27 +0000 (UTC) From: "Donald Woods (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Commented: (OPENJPA-1562) Basic negative tests of the EntityManager fail 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 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-1562?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12844200#action_12844200 ] Donald Woods commented on OPENJPA-1562: --------------------------------------- Add post 2.0.0-beta2, the fix for OPENJPA-1097 has been integrated, which fixes a bug where EM.clear() was not removing some $proxy class wrappers from the entities.... > Basic negative tests of the EntityManager fail > ---------------------------------------------- > > 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 > 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.