我遇到的问题是,当通过其中一个应用程序将数据插入数据库时,另一个应用程序无法访问/查看完全相同的数据。
这两个应用程序在数据库抽象框架、Spring框架等方面具有完全相同的配置。此外,这两个应用程序在不同的物理服务器上运行不同的Tomcat服务器。
可能导致这个问题的原因是什么?
编辑
Hibernate的配置如下:
编辑2
这是ehcache.xml文件
<cache name="org.hibernate.cache.internal.StandardQueryCache"
maxElementsInMemory="10000"
eternal="false"
timeToLiveSeconds="86400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LRU"/>
<defaultCache
maxElementsInMemory="10000"
eternal="false"
timeToLiveSeconds="86400"
overflowToDisk="false"
memoryStoreEvictionPolicy="LRU"/>
echache.xml
文件? - Tasos P.