[ 
https://issues.apache.org/jira/browse/OPENJPA-2517?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14591209#comment-14591209
 ] 

Masafumi Koba commented on OPENJPA-2517:
----------------------------------------

Heath, Thank you for a detailed report.

As you pointed out, I misunderstood that 'javax.persistence.query.timeout' will 
be applied also in 'EntitiManger.persist' method.

I think that there is no problem with closing this issue.

Thanks.

> 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
>            Assignee: Heath Thomann
>         Attachments: OPENJPA-2517.patch, openjpa-querytimeout-bug.zip, 
> openjpa-querytimeout-working.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.3.4#6332)

Reply via email to