私はセッションのエントリーポイントだと思いますが、失敗したようです。私の設定かどうか?
ここに私の春の設定です。
私のクラスは続きます
public Object aroundAdvice(ProceedingJoinPoint pjp) throws Throwable {
System.out.println("aroundAdvice");
String hql = (String) pjp.getArgs()[0];
if(hql.indexOf("update") > -1){
StringBuilder sb = new StringBuilder();
int temp = hql.indexOf("where");
if(temp > -1){
sb.append(hql.subSequence(0, temp));
sb.append(",updateDate = :updateDate ");
sb.append(hql.substring(temp));
}else{
sb.append(",updateDate = :updateDate ");
}
hql = sb.toString();
mark = true;
}
Object retVal = pjp.proceed(new Object[] { hql });
return retVal;
}