On Sep 13, 2014, at 3:15, Martin Tippmann wrote: > It's working now with 4.4-SNAPSHOT after adding the transaction code.
That's good to hear :-) 2014-09-12 21:39 GMT+02:00 Jörg Richter <[email protected]>: > However, if your code is NOT invoked via a HTTP request -- e.g. when you are > in a migration or in a test -- you must create the transaction manually [...] Here I like to correct myself: migrations ARE performed inside a transaction by default. You're NOT required to create a transaction manually in your migrations. I guess your original mistake was using the @Transactional annotation on a non-resource method. (A "resource method" is one invoked via a HTTP request, that is a method with a @GET, @PUT, ... annotation). Cheers, Jörg -- devel mailing list [email protected] http://lists.deepamehta.de/mailman/listinfo/devel-lists.deepamehta.de
