@SuppressWarnings("incomplete-switch")
	protected Object transDateValue(Class<?> targetClass, Object value) {
		if (!(value instanceof Timestamp)){
			return value;
		}
		Timestamp realValue = (Timestamp) value;
		String targetClassName = targetClass.getName();
		DAORowMapper.ClassType classType = DAORowMapper.classNameMap.get(targetClassName);
		if (classType == null){
			classType = DAORowMapper.ClassType.UNDEFINED;
		}
		long timestamp = realValue.getTime();
		switch (classType) {
		case UTILDATE:
			value = new java.util.Date(timestamp);
			break;
		case CALENDAR:
			Calendar targetValue = Calendar.getInstance();
			targetValue.setTimeInMillis(timestamp);
			value = targetValue;
			break;
		case SQLDATE:
			value = new java.sql.Date(timestamp);
			break;
		}
		return value;
	}