iii) Slice also provides two-phase commit across the slices provided
the underlying database resources are XA-complaint. "
you sort of imply Slice does that while Shards does not. Actually
Shards does ii and iii as well (for iii, it's more than Shards does
not care at all and lets JTA do it's job).
Other question, do you deal with group by, having and aggregation?
On Jan 10, 2008, at 10:02, Emmanuel Bernard wrote:
>
> On Jan 10, 2008, at 01:14, pinaki...@gmail.com wrote:
>>
>>> for iii, it's more than Shards does not care at all and lets JTA
>>> do it's job
>> What happens when no JTA transaction manager in the environment? e.g.
>> in JPA parlance, a persistence unit with transaction-
>> type=RESOURCE_LOCAL
>
> It's simply isolated transactions committed one after the other.
>
>>
>>> Other question, do you deal with group by, having and aggregation?
>> Not yet. Slice is at version 0.4.0. Unique result aggregation can be
>> accomplished with the current approach of merging results from
>> different sources, but sorting /group by / having all are in
>> conceptually difficult domain right now. How about Shards on this
>> account?
>
> For Java Persistence queries, we have the same issue, it requires
> to have some inputs from the query parser. But the Criteria API
> handles that.