I have a method that calls a SQLServer function to perform a free text search against a table. That function will occasionally on the first call result in a SQLException: \"
I think annotating a method with an aspect specifying the retry count would result in more structured code, although it needs some infrastructure coding.