Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[aspectj-users] returning result in after/before advice


AspectJ allows returning results in only around advice.
I have a following problem:

1. PreparedStatement pstmt = conn.prepareStatement(query);
2. pstmt = addParamToPreparedStmt(pstmt, params);

I want to write a before advice for the first statement.
i.e. before(): call(addParamToPreparedStmt(..){ execute statemnt 1}
How can i return the result of it?

Naval.


Back to the top