Closed GoogleCodeExporter closed 8 years ago
[deleted comment]
Affected version twig-persist-2.0-beta2.jar
Original comment by tero.nur...@gmail.com
on 21 Oct 2010 at 9:19
I think throwing an exception here is correct. The datastore can only perform
a count operation on a single command but your test creates two commands. The
only way to handle this is by running the query and manually counting the
results returned. Not very efficient. If you were to do this you could stop
Twig from actually crating entities by using a "Restriction"
.restrict(COUNT_ENTITIES_BUT_DO_NOT_ACCEPT)
I've marked as WontFix for now, but if you can suggest a workable solution I
can change it to accepted.
Original comment by jdpatterson
on 22 Oct 2010 at 5:50
I see. Then I need to go with the manual counting as in the @Tests. Do you have
some plans for updating the wiki about features coming with version 2.0. I was
searching the groups and junit tests about "restriction" and BranchFindCommand
but they really didn't open up.
Original comment by tero.nur...@gmail.com
on 22 Oct 2010 at 5:19
Original issue reported on code.google.com by
tero.nur...@gmail.com
on 21 Oct 2010 at 9:15