[
https://issues.apache.org/jira/browse/ISIS-2020?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16681234#comment-16681234
]
ASF subversion and git services commented on ISIS-2020:
-------------------------------------------------------
Commit 3d16c64e9bdb4b7a23f2ff0673d445b6eeecc75f in isis's branch refs/heads/v2
from [~hobrom]
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=3d16c64 ]
ISIS-2020: fixes the listAll issue
I believe, that the issue is on DN's side with the PersistenceManager
not creating queries that act upon the correct DB connection.
As of DN-5.2 FederatedJDOQLQuery is still work in progress.
We fixed this by utilizing the new type-safe queries as provided with
DN-5, which appear do work correctly on Federated Data Stores.
As a side-effect we fixed the 'disable-MultivaluedFetch' optimization,
which was not working in our implementation since ther was a key
renaming in DN's migration from 4.1.0.M1 to 4.1.0.M2
Task-Url: https://issues.apache.org/jira/browse/ISIS-2020
> DataNucleus Federated Datastore functionality not used in query
> ---------------------------------------------------------------
>
> Key: ISIS-2020
> URL: https://issues.apache.org/jira/browse/ISIS-2020
> Project: Isis
> Issue Type: Bug
> Components: Core: Objectstore: JDO
> Affects Versions: 1.16.2, 2.0.0-M1
> Reporter: Brian Kalbfus
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0
>
> Attachments: datanucleus-api-jdo.patch
>
>
> Insert and Update operations work as expected, but query operations operate
> on the primary datastore. I see from stepping through the M1 code that
> Insert and Update operations use a transaction that accesses a
> FederatedDataStore. I guess that is where the difference occurs in that the
> query operations get a data store another way, failing to get the
> FederatedDataStore that is configured.
> example code created from helloworld-archetype is at
> [https://github.com/bkalbfus/isis-federatedDS-2_0_0-M1]
> Mailing list:
> [https://lists.apache.org/thread.html/2edea2f8d802532c3672eddc83b484bbc2e31d1cac16f2759feeb95f@%3Cusers.isis.apache.org%3E]
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)