On Thu, Jan 22, 2009 at 2:16 AM, Moritz Rebbert <[email protected]> wrote: > I created a stripped version where i was able to reproduce the Exception. > > My client Code looks like this: > > InitialContext ic = new InitialContext(); > ItemTest test = (ItemTest) > ic.lookup("item-state-ear-SNAPSHOT/ItemTestBean/remote"); > for(int i = 1;i<10;i++){ //often occures the second or third > time > test.createFolder("folderA", false); > test.createFolder("folderA/folderZ", false); > test.remove("folderA", true); > }
Each call to createFolder() and remove() will be in its own transaction, ie. concludes with a commit of the transaction, right? (Sorry for the question, I am not familiar with the transaction annotations) Regards, Alex -- Alexander Klimetschek [email protected]
