private static List<?> findByColumn(EntityManager manager,
			String tableName, String columnName, String columnValue,
			boolean isStringType) {
		if (isStringType) {
			columnValue = "'" + columnValue + "'";
		}
		Query q = manager.createQuery("select c from " + tableName
				+ " c where c." + columnName + "=" + columnValue);
		return q.getResultList();
	}