From dev-return-27030-archive-asf-public=cust-asf.ponee.io@openjpa.apache.org Thu Dec 17 10:34:32 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mxout1-he-de.apache.org (mxout1-he-de.apache.org [95.216.194.37]) by mx-eu-01.ponee.io (Postfix) with ESMTPS id D184F180608 for ; Thu, 17 Dec 2020 11:34:32 +0100 (CET) Received: from mail.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mxout1-he-de.apache.org (ASF Mail Server at mxout1-he-de.apache.org) with SMTP id E3D1167116 for ; Thu, 17 Dec 2020 10:34:31 +0000 (UTC) Received: (qmail 47062 invoked by uid 500); 17 Dec 2020 10:34:31 -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 47050 invoked by uid 99); 17 Dec 2020 10:34:31 -0000 Received: from mailrelay1-he-de.apache.org (HELO mailrelay1-he-de.apache.org) (116.203.21.61) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Dec 2020 10:34:31 +0000 Received: from jira2-he-de.apache.org (jira2-he-de.apache.org [168.119.33.54]) by mailrelay1-he-de.apache.org (ASF Mail Server at mailrelay1-he-de.apache.org) with ESMTPS id 576333E86B for ; Thu, 17 Dec 2020 10:34:30 +0000 (UTC) Received: from jira2-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira2-he-de.apache.org (ASF Mail Server at jira2-he-de.apache.org) with ESMTP id 325E5C800FB for ; Thu, 17 Dec 2020 10:34:00 +0000 (UTC) Date: Thu, 17 Dec 2020 10:34:00 +0000 (UTC) From: "Romain Manni-Bucau (Jira)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (OPENJPA-2845) JPA intermittently giving null resultset even DB has value MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/OPENJPA-2845?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D17= 250977#comment-17250977 ]=20 Romain Manni-Bucau commented on OPENJPA-2845: --------------------------------------------- Without a reproducer it will be hard or even almost impossible but some cac= hing - either actual cache or reuse of some JPA component instances - can m= ake the resultset partially bypassed in some particular configurations. Wit= hout more information it is the main cause I can think about. > JPA intermittently giving null resultset even DB has value > ---------------------------------------------------------- > > Key: OPENJPA-2845 > URL: https://issues.apache.org/jira/browse/OPENJPA-2845 > Project: OpenJPA > Issue Type: Bug > Reporter: Deepesh > Priority: Critical > > Data is getting fetched from Oracle DB but while mapping it back to JPA o= bject, it gets null. This can be seen through Dynatrace that SQL returns ro= w result but JPA resultset is getting null. > Query is quite simple and just fetching the record based on primary key. = Although another field is being passed in where clause with primary key but= it returns single row. > Also, same jpa query provides results (same input) several times before. > We enabled jpa logs and see query runs fine on DB.=C2=A0 > Is there any thresold due to which JPA not working as expected? Any sugge= stions to handle this ? -- This message was sent by Atlassian Jira (v8.3.4#803005)