Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 63140 invoked from network); 11 Mar 2010 17:55:24 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 11 Mar 2010 17:55:24 -0000 Received: (qmail 51107 invoked by uid 500); 11 Mar 2010 17:54:50 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 51052 invoked by uid 500); 11 Mar 2010 17:54: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 51044 invoked by uid 99); 11 Mar 2010 17:54: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 17:54: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 17:54:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8B366234C4BE for ; Thu, 11 Mar 2010 17:54:27 +0000 (UTC) Message-ID: <2082585405.208181268330067555.JavaMail.jira@brutus.apache.org> Date: Thu, 11 Mar 2010 17:54:27 +0000 (UTC) From: "Jerry Carter (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Created: (OPENJPA-1562) Basic negative tests of the EntityManager fail 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 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 Attachments: 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.