code: @Bean
      protected PersistenceManagerFactory persistenceManagerFactory() throws InitializationException
      {
          CacheManagerFactory cacheManagerFactory = new CacheManagerFactory();
          cacheManagerFactory.initialize();
          return cacheManagerFactory;
      }
docs: Persistence Manager factory.  This determines your database connection.  This would have the same usage if
  you were connecting to an embedded or remote database.  The only difference would be the factory type.
  
  @return Initialized Persistence Manager Factory