code: @Override
      public SharedCacheMode getSharedCacheMode() {
          PersistenceUnitCachingType sharedCacheMode = persistenceUnitXml.getSharedCacheMode();
          if (sharedCacheMode == null) {
              return null;
          }
  
          return SharedCacheMode.valueOf(sharedCacheMode.name());
      }
docs: /*
  @see javax.persistence.spi.PersistenceUnitInfo#getSharedCacheMode()