This content has been marked as final.
Show 3 replies
-
1. Re: Transactional annotation on private methods
wrzep Jun 22, 2008 4:10 PM (in response to btonez)Could you please provide a code sample? Is this private method located in the same class as a public one?
-P
-
2. Re: Transactional annotation on private methods
btonez Jun 22, 2008 4:23 PM (in response to btonez)public void update(String fragment) { String decrypted = decrypt(fragment); persistUpdate(decrypted); } @Transactional private void persistUpdate(String fragment) { ...
update is called from Remoting.
My question is, will the @Transactional be honored even though it is not on the update method?
-
3. Re: Transactional annotation on private methods
wrzep Jun 22, 2008 4:36 PM (in response to btonez)
My question is, will the @Transactional be honored even though it is not on the update method?No, cause call to persistUpdate() isn't a call to proxy.
-P