[
https://issues.apache.org/jira/browse/OPENJPA-849?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12667272#action_12667272
]
Pinaki Poddar commented on OPENJPA-849:
---------------------------------------
Following pattern not only coding a new configuration property much cumbersome
but also it is not OpenJPAConfiguration's perview to determine which
'Interface' uses a property.
--- src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
(revision 736036)
+++ src/main/java/org/apache/openjpa/conf/OpenJPAConfigurationImpl.java
(working copy)
optimistic.set(true);
+ optimistic.addInterfaceSupportedOn(Value.Interfaces.ENTITY_MANAGER);
+ optimistic
+ .addInterfaceSupportedOn(Value.Interfaces.ENTITY_MANAGER_FACTORY);
> Add metadata-type getter methods to EntityManager
> -------------------------------------------------
>
> Key: OPENJPA-849
> URL: https://issues.apache.org/jira/browse/OPENJPA-849
> Project: OpenJPA
> Issue Type: Sub-task
> Affects Versions: 2.0.0
> Reporter: Dianne Richards
> Assignee: Dianne Richards
> Attachments: patch.txt
>
>
> This task is for supporting the new 2.0 EntityManager methods getProperties()
> and getSupportedProperties()
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.