docs: @Override
      public SharedCacheMode getSharedCacheMode()
      {
          // Convert this SharedCacheMode from the class defined
          // in JAXB (com.ibm.ws.jpa.pxml20.PersistenceUnitCachingType)
          // to JPA  (javax.persistence.SharedCacheMode).
  
          // Per the spec, must return UNSPECIFIED if not in xml
          SharedCacheMode rtnMode = SharedCacheMode.UNSPECIFIED;
          PersistenceUnitCachingType jaxbMode = null;
  
          jaxbMode = ivPUnit.getSharedCacheMode();
          if (jaxbMode == PersistenceUnitCachingType.ALL)
          {
              rtnMode = SharedCacheMode.ALL;
          }
          else if (jaxbMode == PersistenceUnitCachingType.NONE)
          {
              rtnMode = SharedCacheMode.NONE;
          }
          else if (jaxbMode == PersistenceUnitCachingType.ENABLE_SELECTIVE)
          {
              rtnMode = SharedCacheMode.ENABLE_SELECTIVE;
          }
          else if (jaxbMode == PersistenceUnitCachingType.DISABLE_SELECTIVE)
          {
              rtnMode = SharedCacheMode.DISABLE_SELECTIVE;
          }
  
          return rtnMode;
      }