objectCahce entry in transfer.xml

瀏覽次數:18 次
跳到第一則未讀訊息

John Gerald

未讀,
2015年3月6日 凌晨4:50:332015/3/6
收件者:transf...@googlegroups.com
All,

I have tried the google search and have read through many subjects and posting but have not found the answer I am looking for.

In the Migrating to Transfer 1.3 it says the following:

Update transfer.xml and <objectCache>

You will need to replace your current settings with a new baseline:

<objectCache>
    <defaultcache provider="transfer.com.cache.provider.EHCacheProvider">
        <setting name="config" value="path/to/ehcache.xml" />
    </defaultcache>
</objectCache>
Can someone help me with where in the transfer.xsd file does this entry go. I have gone through the file and see many items with the words objectCache but not sure of the actual location in which this should go.
I have created the ehcache.xml file and placed it in the root of the transfer folder so I believe the path for me would be transfer/ehcache.xml.

I would very much appreciate your help and if possible maybe you could post the actual code from your transfer.xsd(xml) file so that I am clear on exactly where and how it should be inserted.

Note: I am using the transfer.xsd file that is located in the /resources/xsd/transfer.xsd, is that the correct file?

Thank you in advance for your help and any assistance you can give me. I am new to upgrading Transfer ORM and just need a little help.

John

Brian G

未讀,
2015年3月7日 下午6:57:402015/3/7
收件者:transf...@googlegroups.com
John,

The above does not go into transfer.xsd but rather transfer.xml.   If you already had an <objectCache> stanza, you simply replace it with the link to the ehcache file and associated caching directives instead.


Brian
回覆所有人
回覆作者
轉寄
0 則新訊息