title: execution of Spring AOP Around advice in DAO returns null in service
body: <p>I have written my pointcut and custom around advise, which will execute one Dao method.</p>
  
  <p>Pointcut</p>
  
  <pre><code>@Pointcut("execution(* com.dao.*.get*(..))")
      public void creditPointcut(){
      }
  </code></pre>
  
  <p>Around Advice</p>
  
  <pre><code>@Around("creditPointcut()") 
      public void around(ProceedingJoinPoint point) throws Throwable{
          LOGGER.info("Method name: "+point.getSignature().getName()+" started");
          point.proceed();
          LOGGER.info("Method name: "+point.getSignature().getName()+" ended");
  
      }
  </code></pre>
  
  <p>Target - Dao Method</p>
  
  <pre><code>public Account getAccountDetails(int accntNo) {
          Session session = sessionFactory.getCurrentSession();
          Query query = session.createQuery("from Account where accountNo=:acctNo");
          query.setInteger("acctNo", accntNo);
          Account account = (Account)query.list().get(0);
          return account;
      }
  </code></pre>
  
  <p>But, this advice returns null account in my service.</p>
  
  <p>Service layer method</p>
  
  <pre><code>@Override
      @Transactional(isolation=Isolation.READ_COMMITTED )
      public Account getAccountDetails(int accntNo) {
          Account account = accountDao.getAccountDetails(accntNo);
          return account;
      }
  </code></pre>
  
  <p>Please help me why i am getting null account in my service, after executing the around advice in Dao.</p>