code: public Integer getSeqByMysql(String seqKey){
  
  		PlatformTransactionManager  transactionManager=MicroTranManagerHolder.getTransactionManager(dbName);
  	    DefaultTransactionDefinition def =new DefaultTransactionDefinition();
  	    def.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRES_NEW);
  	    TransactionStatus status=transactionManager.getTransaction(def);
  	    try
  	    {
  			String sql="select get_micro_seq('"+seqKey+"') as seq";
  			List retList=getInnerDao().queryObjJoinByCondition(sql);
  			if(retList==null){
  				transactionManager.commit(status);
  				return null;
  			}
  			Map retMap=(Map) retList.get(0);
  			Integer seq=(Integer) retMap.get("seq");
  			transactionManager.commit(status);
  			return seq;	    	
  	    }
  	    catch(Exception ex)
  	    {
  	    	transactionManager.rollback(status);
  	        throw new RuntimeException("getseq error",ex);
  	    }
  
  
  	}
docs: /*	public void dbTranNestRollbackAndReStart() throws Exception{
  PlatformTransactionManager  transactionManager=MicroTranManagerHolder.getTransactionManager(dbName);
  DefaultTransactionDefinition def =new DefaultTransactionDefinition();
  def.setIsolationLevel(TransactionDefinition.ISOLATION_READ_COMMITTED);
  def.setPropagationBehavior(TransactionDefinition.PROPAGATION_REQUIRED);
  TransactionStatus status=transactionManager.getTransaction(def);
  transactionManager.rollback(status);
  ((AbstractPlatformTransactionManager) transactionManager).setFailEarlyOnGlobalRollbackOnly(false);
  
  }