openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Donald Woods (JIRA)" <>
Subject [jira] Commented: (OPENJPA-972) Support standard provider properties in PersistenceProvider class
Date Tue, 17 Mar 2009 20:33:50 GMT


Donald Woods commented on OPENJPA-972:

Based on chatting with Jeremy, Pinaki and Albert today, I thought I would document the following
code behavior as part of this JIRA -

The code currently does not pass the properties supplied on the PU in persistence.xml or via
a properties Map to createEMF down as hints, but only as config settings in FetchPlan.  This
is the expected and agreed upon behavior for OpenJPA 2.0.

The spec says that PU or Map provided properties to the EMF will be used as defaults and that
Query.setHint() can be used to override, but there is no requirement for getHints() to return
these default values.

> Support standard provider properties in PersistenceProvider class
> -----------------------------------------------------------------
>                 Key: OPENJPA-972
>                 URL:
>             Project: OpenJPA
>          Issue Type: Sub-task
>          Components: kernel
>    Affects Versions: 2.0.0
>            Reporter: Donald Woods
>            Assignee: Donald Woods
>             Fix For: 2.0.0
> Implement support for PU properties and hints passed in persistence.xml and/or the Map
parameter of createEntityManagerFactory().
> Section of the JPA 2.0 Public Draft #1.
> This work item is to add junit coverage on Query for the following new PU properties:
>    javax.persistence.lock.timeout
>    javax.persistence.query.timeout
> Supplying them in a Map to createEMF should override any values supplied in persistence.xml.

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

View raw message