Re: [deepamehta-devel] Transactions

2016-09-19 Thread Robert Schuster
Hi Joerg, ok, I have to confess I am not allto versed with all the JAX RS annotations. After I wrote this code I saw a JAX RS example that had "Transactional" in it and I was thinking "Hm, I probably should use that instead of creating that Transaction object manually". :-) Best regards Robert Am

[deepamehta-devel] Transactions

2016-09-16 Thread Jörg Richter
Hi Robert, in your updateEditablePerson() resource method you create a transaction: @PUT @Path("...") public void updateEditablePerson(...) { DeepaMehtaTransaction tx = dm4.beginTx(); try { ...