[
https://issues.apache.org/jira/browse/OPENJPA-1138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Anurag Rai updated OPENJPA-1138:
--------------------------------
Attachment: OPENJPA-1138-2.0.0-TEST.patch
OPENJPA-1138-2.0.0-SOURCE.patch
source and test patch for the given problem.
> Adding the support for query targeting using a query target policy
> ------------------------------------------------------------------
>
> Key: OPENJPA-1138
> URL: https://issues.apache.org/jira/browse/OPENJPA-1138
> Project: OpenJPA
> Issue Type: New Feature
> Components: slice
> Affects Versions: 2.0.0
> Environment: Windows Vista, Eclipse3.4.2, Maven 2.1.0, Java 1.6.0_13
> Reporter: Anurag Rai
> Fix For: 2.0.0
>
> Attachments: OPENJPA-1138-2.0.0-SOURCE.patch,
> OPENJPA-1138-2.0.0-TEST.patch
>
> Original Estimate: 336h
> Remaining Estimate: 336h
>
> Slice gives us an abstraction for using horizontally partitioned databases.
> As of now we use hints to set targets for a particular query if we want it to
> be fired on particular Slices(partitions). This method works fine but we
> need to have something which works from outside the user code as in the case
> of distribution policy. If we have such a way we can externally set targets
> without changing the code. Such targeting should be available for select and
> find.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.