code: public Long getLastTransactionID(){
          
          if(logger.isDebugEnabled()){
              logger.debug("[getLastTransactionID]");
          }
          
          return (Long) template.selectOne(SELECT_LAST_TRANSACTION_ID);
      }
docs: Get the last transaction id from database
  
  @return