/**
  * @see {@link Entities#get(Object)
  * @see {@link CascadingTx}
  */
 @SuppressWarnings("unchecked")
 @Deprecated
 public static <T> EntityWrapper<T> get(final T obj) {
   return new EntityWrapper(Entities.lookatPersistenceContext(obj));
 }
 /**
  * @see {@link Entities#get(Class)
  * @see {@link CascadingTx}
  */
 @Deprecated
 public static <T> EntityWrapper<T> get(final Class<T> type) {
   return new EntityWrapper(Entities.lookatPersistenceContext(type));
 }