From open-jpa-dev-return-1855-apmail-incubator-open-jpa-dev-archive=incubator.apache.org@incubator.apache.org Thu Feb 01 02:29:27 2007 Return-Path: Delivered-To: apmail-incubator-open-jpa-dev-archive@locus.apache.org Received: (qmail 69810 invoked from network); 1 Feb 2007 02:29:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Feb 2007 02:29:26 -0000 Received: (qmail 55114 invoked by uid 500); 1 Feb 2007 02:29:32 -0000 Delivered-To: apmail-incubator-open-jpa-dev-archive@incubator.apache.org Received: (qmail 55087 invoked by uid 500); 1 Feb 2007 02:29:32 -0000 Mailing-List: contact open-jpa-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: open-jpa-dev@incubator.apache.org Delivered-To: mailing list open-jpa-dev@incubator.apache.org Received: (qmail 55078 invoked by uid 99); 1 Feb 2007 02:29:32 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 18:29:32 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Jan 2007 18:29:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 9A98E71408A for ; Wed, 31 Jan 2007 18:29:05 -0800 (PST) Message-ID: <20245259.1170296945615.JavaMail.jira@brutus> Date: Wed, 31 Jan 2007 18:29:05 -0800 (PST) From: "David Wisneski (JIRA)" To: open-jpa-dev@incubator.apache.org Subject: [jira] Closed: (OPENJPA-110) Every NamedNativeQuery using ResultSetMapping fails at runtime with class cast exception when try to iterate over list In-Reply-To: <5358135.1169687209044.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-110?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Wisneski closed OPENJPA-110. ---------------------------------- Resolution: Fixed already fixed in current code > Every NamedNativeQuery using ResultSetMapping fails at runtime with class cast exception when try to iterate over list > ----------------------------------------------------------------------------------------------------------------------------------- > > Key: OPENJPA-110 > URL: https://issues.apache.org/jira/browse/OPENJPA-110 > Project: OpenJPA > Issue Type: Bug > Environment: windows xp, openjpa_097_incubating > Reporter: George Hongell > > Every NamedNativeQuery using ResultSetMapping fails at runtime with class cast exception when try to iterate over list > java.lang.ClassCastException: java.lang.Integer incompatible with com.ibm.ws.query.entities.objectgrid.xml.DeptBean > at com.ibm.ws.query.tests.JUNamedNativeQueryTest.testJoinQuery(JUNamedNativeQueryTest.java:563) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:64) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:615) > at junit.framework.TestCase.runTest(Unknown Source) > at junit.framework.TestCase.runBare(Unknown Source) > at junit.framework.TestResult$1.protect(Unknown Source) > at junit.framework.TestResult.runProtected(Unknown Source) > at junit.framework.TestResult.run(Unknown Source) > at junit.framework.TestCase.run(Unknown Source) > at junit.framework.TestSuite.runTest(Unknown Source) > at junit.framework.TestSuite.run(Unknown Source) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) > at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.