On 8 Sep 2011, at 14:54, Manik Surtani wrote:

Since it turns out quite often to explain "weird things" to users
about batching that it is in fact just a DummyTransaction, maybe it
should be better to remove the current batching API and have people
deal explicitly with transactions (in all it's aspects from usage,
expectations and configuration).

Yes, this becomes a separate subject I suppose.  Is there a need for a batching API at all, won't transactions be sufficient?

Also keep in mind JSR 107 is proposing a concept of "local transactions", which would in effect be the same as batching.

--
Manik Surtani
manik@jboss.org
twitter.com/maniksurtani

Lead, Infinispan
http://www.infinispan.org