return Optional.ofNullable(type.getVersion(Object.class)); } catch (IllegalArgumentException o_O) {
return Optional.ofNullable(type.getVersion(Object.class)); } catch (IllegalArgumentException o_O) {
ExtendedAttribute<?, ?> extendedAttribute = extendedManagedType.getAttributes().get(iterator.next()); try { SingularAttribute<? super Object, ?> version = ((IdentifiableType<Object>) jpaManagedType).getVersion(extendedAttribute.getElementClass()); if (extendedAttribute.getAttributePathString().equals(version.getName())) { iterator.remove();