             Map<Object, Object> newKeys = new HashMap<Object, Object>(keys);                 newKeys.put(RESOURCE_POOL.ITEM, item);                 Map<String, Object> props = objectManager.convertToPropertiesFor(ResourcePool.class, newKeys);                 try {                     return objectManager.create(ResourcePool.class, props).getItem();                 } catch (DataAccessException e) {                     log.debug("Failed to create item [{}]", item);                 }              }         }         