private String getFieldString(Object o, int type) {
		if (o == null)
			return "null";
		switch (type) {
		case java.sql.Types.INTEGER:
			return ((Integer)o).toString();
		case java.sql.Types.BOOLEAN:
			return ((Boolean)o).toString();
		case java.sql.Types.CHAR:
		case java.sql.Types.VARCHAR:
			return "'" + (String)o + "'";
		case java.sql.Types.FLOAT:
			return ((Float)o).toString();
		case java.sql.Types.DATE:
			return ((Date)o).toString();
		case java.sql.Types.DECIMAL:
			return ((BigDecimal)o).toString();
		case java.sql.Types.TIMESTAMP:
			return ((java.sql.Timestamp)o).toString();
		default:
			logger.error("Undefined Type Number " + type);
			return null;
		}
	}