snaker-core/src/main/java/org/snaker/engine/access/AbstractDBAccess.java
public void saveProcess(Process process) {
		if(isORM()) {
			saveOrUpdate(buildMap(process, SAVE));
		} else {
			Object[] args = new Object[]{process.getId(), process.getName(), process.getDisplayName(), process.getType(), 
					process.getInstanceUrl(), process.getState(), process.getVersion(), process.getCreateTime(), process.getCreator()};
			int[] type = new int[]{Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, Types.INTEGER, 
					Types.VARCHAR, Types.INTEGER, Types.INTEGER, Types.VARCHAR, Types.VARCHAR};
			saveOrUpdate(buildMap(PROCESS_INSERT, args, type));
		}
	}
public void saveProcess(Process process) {
		if(isORM()) {
			saveOrUpdate(buildMap(process, SAVE));
		} else {
			Object[] args = new Object[]{process.getId(), process.getName(), process.getDisplayName(), process.getType(), 
					process.getInstanceUrl(), process.getState(), process.getVersion(), process.getCreateTime(), process.getCreator()};
			int[] type = new int[]{Types.VARCHAR, Types.VARCHAR, Types.VARCHAR, Types.INTEGER, 
					Types.VARCHAR, Types.INTEGER, Types.INTEGER, Types.VARCHAR, Types.VARCHAR};
			saveOrUpdate(buildMap(PROCESS_INSERT, args, type));
		}
	}
public void saveProcess ( Process process ) { if ( isORM ( ) ) { saveOrUpdate ( buildMap ( process , SAVE ) ) ; } else { Object [ ] args = new Object [ ] { process . getId ( ) , process . getName ( ) , process . getDisplayName ( ) , process . getType ( ) , process . getInstanceUrl ( ) , process . getState ( ) , process . getVersion ( ) , process . getCreateTime ( ) , process . getCreator ( ) } ; int [ ] type = new int [ ] { Types . VARCHAR , Types . VARCHAR , Types . VARCHAR , Types . INTEGER , Types . VARCHAR , Types . INTEGER , Types . INTEGER , Types . VARCHAR , Types . VARCHAR } ; saveOrUpdate ( buildMap ( PROCESS_INSERT , args , type ) ) ; } }
由于process中涉及blob字段，未对各种框架统一，所以process操作交给具体的实现类处理
由于process中涉及blob字段，未对各种框架统一，所以process操作交给具体的实现类处理