View | Details | Raw Unified | Return to bug 232881
Collapse All | Expand All

(-)src/org/eclipse/jpt/core/internal/context/orm/GenericOrmPersistentType.java (-1 / +7 lines)
Lines 261-267 Link Here
261
		return new FilteringIterator<OrmPersistentAttribute, OrmPersistentAttribute>(attributes()) {
261
		return new FilteringIterator<OrmPersistentAttribute, OrmPersistentAttribute>(attributes()) {
262
			@Override
262
			@Override
263
			protected boolean accept(OrmPersistentAttribute o) {
263
			protected boolean accept(OrmPersistentAttribute o) {
264
				return attributeName.equals(o.getName());
264
				if (attributeName == null && o.getName() == null) {
265
					return true;
266
				}
267
				if (attributeName != null && attributeName.equals(o.getName())) {
268
					return true;
269
				}
270
				return false;
265
			}
271
			}
266
		};
272
		};
267
	}
273
	}

Return to bug 232881