Return-Path: X-Original-To: apmail-openjpa-dev-archive@www.apache.org Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 813CD11A87 for ; Tue, 15 Jul 2014 09:04:05 +0000 (UTC) Received: (qmail 7272 invoked by uid 500); 15 Jul 2014 09:04:05 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 7224 invoked by uid 500); 15 Jul 2014 09:04:05 -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 7030 invoked by uid 99); 15 Jul 2014 09:04:05 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2014 09:04:05 +0000 Date: Tue, 15 Jul 2014 09:04:05 +0000 (UTC) From: "Masafumi Koba (JIRA)" To: dev@openjpa.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Comment Edited] (OPENJPA-2517) Incorrect the time unit of query timeout value. 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-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14061856#comment-14061856 ] Masafumi Koba edited comment on OPENJPA-2517 at 7/15/14 9:03 AM: ----------------------------------------------------------------- Attached Maven project for bug reproduction (openjpa-querytimeout-bug.zip). Please run command 'mvn clean test'. was (Author: mskb): Maven project. Please run command 'mvn clean test'. > Incorrect the time unit of query timeout value. > ----------------------------------------------- > > Key: OPENJPA-2517 > URL: https://issues.apache.org/jira/browse/OPENJPA-2517 > Project: OpenJPA > Issue Type: Bug > Components: jdbc > Affects Versions: 2.2.0, 2.2.1, 2.2.2, 2.3.0 > Reporter: Masafumi Koba > Attachments: openjpa-querytimeout-bug.zip > > > The value of the "javax.persistence.query.timeout" property have been passed to the java.sql.Statement.setQueryTimeout(int) in milliseconds rather than seconds. > The query timeout milliseconds should be converted to seconds. -- This message was sent by Atlassian JIRA (v6.2#6252)