anchor.diff:  <?xml version="1.0" encoding="UTF-8"?>
   <infinispan
       xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  -    xsi:schemaLocation="urn:infinispan:config:6.0 http://www.infinispan.org/schemas/infinispan-config-6.0.xsd"
  -    xmlns="urn:infinispan:config:6.0">
  -
  -
  -    <global>
  -    </global>
  -
  -    <default>
  -    </default>
  -
  -    <namedCache name="User">
  -    </namedCache>
  -
  -    <namedCache name="Order">
  -    </namedCache>
  -
  -    <namedCache name="associations_User_Order">
  -    </namedCache>
  -
  +    xsi:schemaLocation="urn:infinispan:config:7.0 http://www.infinispan.org/schemas/infinispan-config-7.0.xsd"
  +    xmlns="urn:infinispan:config:7.0">
  +
  +    <cache-container name="HibernateOGM" default-cache="DEFAULT">
  +
  +        <!-- *************************** -->
  +        <!--   Default cache settings    -->
  +        <!-- *************************** -->
  +        <local-cache name="DEFAULT">
  +            <transaction mode="NON_DURABLE_XA"
  +                         transaction-manager-lookup="org.infinispan.transaction.lookup.JBossStandaloneJTAManagerLookup"/>
  +        </local-cache>
  +
  +        <local-cache name="User"/>
  +
  +        <local-cache name="Order"/>
  +
  +        <local-cache name="associations_User_Order"/>
  +
  +    </cache-container>
   </infinispan>
   ----
   ====
   
  -The +global+ section contains elements which affect the whole instance;
  -mainly of interest for Hibernate OGM users is the +transport+ element
  +There are global settings that can be set before the +cache_container+ section.
  +These settings will affect the whole instance;
  +mainly of interest for Hibernate OGM users is the +jgroups+ element
   in which we will set JGroups configuration overrides.
   
  -In the +namedCache+ section (or in +default+ if we want to affect all named caches)
  -we will likely want to configure clustering modes, eviction policies and ++CacheStore++s.
  +Inside the +cache-container+ section are defined explicit named caches and their configurations
  +as well as the default cache (named +DEFAULT+ here) if we want to affect all named caches.
  +This is where we will likely want to configure clustering modes, eviction policies and ++CacheStore++s.
   
   [[ogm-infinispan-storage]]
   
  
positive.code: [[ogm-infinispan]]
  
  == Infinispan
  
  
negative.code: 
  [source, XML]
  ----
  <local-cache name="User">
      <transaction mode="NON_DURABLE_XA"
                   transaction-manager-lookup="org.infinispan.transaction.lookup.JBossStandaloneJTAManagerLookup"/>
      <eviction strategy="LIRS" max-entries="2000"/>
      <persistence passivation="true">
          <file-store
             shared="false"
             path="/var/infinispan/myapp/users"
              <write-behind flush-lock-timeout="15000" thread-pool-size="5" />
          </file-store>
      </persistence>
  </local-cache>
  ----
  
  ====
  
  In this example we enabled both +eviction+ and a +CacheStore+ (the +persistence+ element).
  +LIRS+ is one of the choices we have for eviction strategies.
  Here it is configured to keep (approximately) 2000 entries in live memory
  and evict the remaining as a memory usage control strategy.
  