private boolean check_type(String dataBaseName, String tableName,
			String entryValue, String entryName) {
		ArrayList<Tables> tablesList = new ArrayList<Tables>();
		SchemaParser ob = new SchemaParser();
		tablesList = ob.loadDataBase(dataBaseName);

		if (tablesList != null)
			for (Tables tb : tablesList) {
				if (tb.getTableName().equals(tableName)) {
					ArrayList<Col> fields = tb.getFields();
					for (Col field : fields) {
						if (field.getFieldName().equals(entryName)) {
							switch (field.getFieldType()) {
							case "integer":
								return check_int(entryValue);
							case "double":
								return check_double(entryValue);
							default:
								return true;
							}

						}
					}
				}
			}
		return false;

	}