anchor.diff:  ----
   ====
   
  -+java:DefaultDS+ will work for out of the box JBoss AS deployments.
  ++java:DefaultDS+ will work for out of the box WildFly deployments.
   
   [[ogm-configuration-environments-standalonejta]]
   
  
positive.code: 
  [[ogm-configuration-jbossmodule]]
  
  === How to package Hibernate OGM applications for JBoss AS 7.2
  
  Provided you're deploying on JBoss AS 7.2 or JBoss EAP6,
  there is an additional way to add the OGM dependencies to your application.
  
  In JBoss AS 7, class loading is based on modules
  that have to define explicit dependencies on other modules.
  Modules allow to share the same artifacts across multiple applications,
  getting you smaller and quicker deployments.
  
  More details about modules are described in
  https://docs.jboss.org/author/display/AS72/Class+Loading+in+AS7[Class Loading in AS 7.2].
  
  You can download the pre-packaged module from:
  
  * https://downloads.sourceforge.net/project/hibernate/hibernate-ogm/{hibernate-ogm-version}/hibernate-ogm-modules-{hibernate-ogm-version}-jbossas-72-dist.zip[Sourceforge]
  * https://repository.jboss.org/nexus/service/local/artifact/maven/redirect?r=central&g=org.hibernate.ogm&a=hibernate-ogm-modules&v={hibernate-ogm-version}&e=zip&c=jbossas-72-dist[JBoss's Maven repository]
  
  Unpack the archive into the +modules+ folder of your JBoss AS 7.2 installation.
  The modules included are:
  
  * _org.hibernate:ogm_, containing the core OGM library and the infinispan datastore provider.
  
negative.code: and must contain the fully qualified class name of the lookup implementation.
  The list of available values are listed in
  http://docs.jboss.org/hibernate/orm/4.1/devguide/en-US/html_single/#services-JtaPlatform[Hibernate ORM's configuration section].
  For example, in WildFly,
  use +org.hibernate.service.jta.platform.internal.JBossAppServerJtaPlatform+.
  
  In your [filename]+persistence.xml+, you also need to define an existing datasource.
  