SHARE
TWEET

Untitled

a guest May 8th, 2019 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     public <S extends T> S save(S entity) {
  2.  
  3.         if (entityInformation.isNew(entity)) {
  4.             em.persist(entity);
  5.             return entity;
  6.         } else {
  7.             return em.merge(entity);
  8.         }
  9.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top