hmmmmm.... I'm guessing it's when there are 2 or more saves to DB from a method. Nothing in the stack trace shows errors at all, but I get the tapestry exception page with:
org.apache.tapestry5.ioc.internal.OperationException *nested transactions not supported* onSuccess() method just looks like this: @CommitAfter Object onSuccess() { * tapestryRackService.save(newRack);* for (int i = 0; i < newRack.getunits(); i++) { RackUnit ru = new RackUnit(); ru.setrackId(newRack); ru.setRackUnitId(i + 1); * tapestryRackUnitService.save(ru);* } return ListRack.class; } It works in 5.3.7 - but not 5.4-beta-6 I have only adjusted the pom with the change of tapestry version. On Wed, Aug 27, 2014 at 11:07 PM, Lance Java <lance.j...@googlemail.com> wrote: > I'm not sure what you mean by nesting db queries? Can you give an example? > > Note, the @CommitAfter annotation does exactly what it says on the tin, it > causes a commit after every method that has the annotation. >