Skip to content

Instantly share code, notes, and snippets.

@stliu
Created November 28, 2012 10:44
Show Gist options
  • Select an option

  • Save stliu/4160438 to your computer and use it in GitHub Desktop.

Select an option

Save stliu/4160438 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Hibernate, Relational Persistence for Idiomatic Java
~
~ JBoss, Home of Professional Open Source
~ Copyright 2011 Red Hat Inc. and/or its affiliates and other contributors
~ as indicated by the @authors tag. All rights reserved.
~ See the copyright.txt in the distribution for a
~ full listing of individual contributors.
~
~ This copyrighted material is made available to anyone wishing to use,
~ modify, copy, or redistribute it subject to the terms and conditions
~ of the GNU Lesser General Public License, v. 2.1.
~ This program is distributed in the hope that it will be useful, but WITHOUT A
~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
~ PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
~ You should have received a copy of the GNU Lesser General Public License,
~ v.2.1 along with this distribution; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
~ MA 02110-1301, USA.
-->
<!--
This is the testing configuration, running in LOCAL clustering mode to speedup tests.
Not all tests use this, so that at least one still validates the configuration
validity which would be shipped with a release (like JPAStandaloneTest).
-->
<infinispan
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:infinispan:config:5.1 http://www.infinispan.org/schemas/infinispan-config-5.1.xsd"
xmlns="urn:infinispan:config:5.1">
<global>
<globalJmxStatistics
enabled="false"
cacheManagerName="HibernateOGM-Testsuite"
allowDuplicateDomains="true" />
</global>
<!-- *************************** -->
<!-- Default cache settings -->
<!-- *************************** -->
<default>
<transaction
transactionMode="TRANSACTIONAL"
transactionManagerLookupClass="org.infinispan.transaction.lookup.JBossStandaloneJTAManagerLookup" />
<expiration
wakeUpInterval="-1"
reaperEnabled="false" />
</default>
<!-- *************************************** -->
<!-- Cache to store the OGM entities -->
<!-- *************************************** -->
<namedCache
name="ENTITIES">
</namedCache>
<!-- *********************************************** -->
<!-- Cache to store the relations across entities -->
<!-- *********************************************** -->
<namedCache
name="ASSOCIATIONS">
</namedCache>
<!-- ***************************** -->
<!-- Cache to store identifiers -->
<!-- ***************************** -->
<namedCache
name="IDENTIFIERS">
</namedCache>
</infinispan>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment