Infinispan 6 changes xml schema
virchete Nov 10, 2014 11:31 AMHi, I am migrating from infinispan 5.X to infinispan 6.0.2.Final (the one used in wildfly).
<?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://docs.jboss.org/infinispan/schemas/infinispan-config-6.0.xsd
urn:infinispan:config:jdbc:6.0 http://docs.jboss.org/infinispan/schemas/infinispan-cachestore-jdbc-config-6.0.xsd"
xmlns="urn:infinispan:config:6.0"
xmlns:jdbc="urn:infinispan:config:jdbc:6.0" >
<global>
</global>
<default>
</default>
<namedCache name="sramp">
<loaders passivation="false" shared="false" preload="false">
<jdbc:stringKeyedJdbcStore xmlns="urn:infinispan:config:jdbc:5.2"
fetchPersistentState="true" ignoreModifications="false" purgeOnStartup="false">
<jdbc:dataSource jndiUrl="java:comp/env/jdbc/sramp" xmlns="urn:infinispan:config:jdbc:5.2"/>
<stringKeyedTable
dropOnExit="false" createOnStart="true" prefix="ISPN_STRING_TABLE">
<idColumn name="ID_COLUMN" type="VARCHAR(255)" />
<dataColumn name="DATA_COLUMN" type="BINARY" />
<timestampColumn name="TIMESTAMP_COLUMN" type="BIGINT" />
</stringKeyedTable>
</jdbc:stringKeyedJdbcStore>
</loaders>
<transaction
transactionManagerLookupClass="org.infinispan.transaction.lookup.DummyTransactionManagerLookup"
transactionMode="TRANSACTIONAL" lockingMode="PESSIMISTIC" />
</namedCache>
</infinispan>
This xml (with the headers pointing to the schemas of 5.2 was working in that version of infinispan. In 6.2 it seems that the "loaders" tag inside of the namedCache tag has dissapeared. Could you explain me what is the way to do the equivalent in infinispan 6?
Thanks
David
Jboss Overlord Team.