openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <j...@apache.org>
Subject [jira] Updated: (OPENJPA-963) Add query timeout tests for PU and Map properties
Date Thu, 19 Mar 2009 19:46:50 GMT

     [ https://issues.apache.org/jira/browse/OPENJPA-963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Donald Woods updated OPENJPA-963:
---------------------------------

    Attachment: OPENJPA-963.patch

Patch that adds addition PU/Map tests for query timeout and cleans up some existing tests
and comments provided by OPENJPA-878 and OPENJPA-972.
Updates DBDictionary.setQueryTimeout() by:
1) handling special timeout=-1 case, by converting it to JDBC expected 0
2) adding new log message for timeout < -1, which will not be set
3) adding new setQueryTimeoutDB() method as requested by Fay


> Add query timeout tests for PU and Map properties
> -------------------------------------------------
>
>                 Key: OPENJPA-963
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-963
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: query
>    Affects Versions: 2.0.0
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
>
>         Attachments: OPENJPA-963.patch
>
>
> Include additional junit tests for setting the query timeout property via Persistence.createEntityManagerFactory(Map
properties) and PU properties in persistence.xml.
> Need to add a test showing that a PU or Map provided query timeout does not affect EM.find()/findAll()
operations.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message