public void updateProcess(Process process) {
		if(isORM()) {
			saveOrUpdate(buildMap(process, UPDATE));
		} else {
			Object[] args = new Object[]{process.getName(), process.getDisplayName(), process.getState(), 
					process.getInstanceUrl(), process.getCreateTime(), process.getCreator(), process.getId()};
			int[] type = new int[]{Types.VARCHAR, Types.VARCHAR, Types.INTEGER, Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, Types.VARCHAR};
			saveOrUpdate(buildMap(PROCESS_UPDATE, args, type));
		}
	}
public void updateProcess(Process process) {
		if(isORM()) {
			saveOrUpdate(buildMap(process, UPDATE));
		} else {
			Object[] args = new Object[]{process.getName(), process.getDisplayName(), process.getState(), 
					process.getInstanceUrl(), process.getCreateTime(), process.getCreator(), process.getId()};
			int[] type = new int[]{Types.VARCHAR, Types.VARCHAR, Types.INTEGER, Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, Types.VARCHAR};
			saveOrUpdate(buildMap(PROCESS_UPDATE, args, type));
		}
	}
public void updateProcess ( Process process ) { if ( isORM ( ) ) { saveOrUpdate ( buildMap ( process , UPDATE ) ) ; } else { Object [ ] args = new Object [ ] { process . getName ( ) , process . getDisplayName ( ) , process . getState ( ) , process . getInstanceUrl ( ) , process . getCreateTime ( ) , process . getCreator ( ) , process . getId ( ) } ; int [ ] type = new int [ ] { Types . VARCHAR , Types . VARCHAR , Types . INTEGER , Types . VARCHAR , Types . VARCHAR , Types . VARCHAR , Types . VARCHAR } ; saveOrUpdate ( buildMap ( PROCESS_UPDATE , args , type ) ) ; } }
由于process中涉及blob字段，未对各种框架统一，所以process操作交给具体的实现类处理
由于process中涉及blob字段，未对各种框架统一，所以process操作交给具体的实现类处理