Galder Zamarreño
300b1946fe
HHH-5859 - Upgraded to 4.2.0.CR1
...
Apart from upgrading Infinispan, test transaction manager code has been
changed so that read only transactions are not committed twice.
2011-01-24 20:11:23 +01:00
Galder Zamarreño
66f555e52a
HHH-5793 - All put/remove calls should skip cache load and remote get
2011-01-12 15:14:53 +01:00
Galder Zamarreño
c7969ac883
HHH-5793 - Apply skip cache load optimization to timestamp updates
2011-01-07 16:39:34 +01:00
Galder Zamarreño
35eb737e21
HHH-5793 - Query and timestamp caches to use cluster cache loader
...
Make evict put calls skip the cache loader since previous value is not
needed.
2010-12-20 11:12:22 +01:00
Galder Zamarreño
38b3d8f5bd
HHH-5793 - Query and timestamp caches to use cluster cache loader
...
* Remove unnecessary dependency.
2010-12-15 19:29:39 +01:00
Galder Zamarreño
c7decef9b1
HHH-5793 - Query and timestamp caches to use cluster cache loader
...
* Query and timestamp caches now use cluster cache loader instead of
state transfer in order to remain asynchronous.
* To maintain previous semantics, after query or timestamp regions have
been completely evicted, a check has been added to avoid going remote if
the region was invalid.
2010-12-15 19:29:36 +01:00
Strong Liu
a6157d04d5
update javadoc
2010-11-02 00:27:44 +08:00
Galder Zamarreño
832e4f71e1
[HHH-5599] (NPE occurs when using Infinispan as L2 Cache) Merged from trunk.
2010-10-19 10:13:19 +02:00
Galder Zamarreno
5064d48151
[HHH-5563] (JndiInfinispanRegionFactory creates region with a stopped cache, if region previously existed) Fix compilation error as a result of merge.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20657 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-17 06:42:31 +00:00
Galder Zamarreno
d587904e98
[HHH-5552] (Infinispan listener implementations need to load entities and keys using application classloader) A wrapper class now puts the right classloader for listener calls.
...
[HHH-5563] (JndiInfinispanRegionFactory creates region with a stopped cache, if region previously existed) A check was added to start the cache if no invocations are allowed any more.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20653 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-16 17:26:33 +00:00
Galder Zamarreno
a4ea233ef8
[HHH-5542] (Infinispan region factory uses same cache instance for all timestamp regions)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20328 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-09 09:19:11 +00:00
Galder Zamarreno
df6072d2e5
[HHH-5545] (Resolve query cache results not up to date testsuite failures)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20327 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-09-09 08:03:31 +00:00
Galder Zamarreno
efe2ad807a
[HHH-5519] (VersionedItem should not extend Item, otherwise query cache results are confusing) Fixed.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20291 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-31 16:05:27 +00:00
Galder Zamarreno
31037bd103
[HHH-5511] (Infinispan Region.destroy() impl should call cache.stop()) Fixed.
...
[HHH-5512] (JndiInfinispanRegionFactory shouldn't try to stop CacheManager) Fixed.
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20288 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-31 15:09:48 +00:00
Galder Zamarreno
222e0937c5
Fix unit test by adding necessary Configuration.buildMappings() call, otherwise cache strategy is not set correctly in entity.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20283 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-31 08:29:12 +00:00
Hardy Ferentschik
67a59a3ea6
HHH-5485 Move hiberante dtd files from http://hibernate.sourceforge.net to http://www.hibernate.org/dtd
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20154 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-17 14:13:58 +00:00
Galder Zamarreno
2e5a338dd6
[HHH-5431] (Infinispan's CacheAdapterImpl.putAllowingTimeout not using silent flag) Added fail silently flag.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@20100 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-08-03 11:27:04 +00:00
Galder Zamarreno
76cc4c27e4
[HHH-5362] (Upgrade trunk to latest Infinispan 4.1) Updated to 4.1.0.CR1.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19918 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-08 14:08:58 +00:00
Steve Ebersole
30f384d224
HHH-5357 - Rename hibernate-testing packages
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19910 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-07 19:39:23 +00:00
Galder Zamarreno
80b082086e
[HHH-5260] (Allow query region name specific eviction settings) Ported to trunk.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19901 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-07-05 17:36:04 +00:00
Galder Zamarreno
e7dce75a9f
[HHH-5332] (JndiInfinispanRegionFactory cannot be instantiated) Fixed.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@19784 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-06-22 23:52:38 +00:00
Galder Zamarreno
5756213195
Upgraded to Infinispan 4.0.0.FINAL
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18868 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-24 09:22:43 +00:00
Galder Zamarreno
ddd1d72e5a
[HHH-4944] (putFromLoad calls could store stale data) Fixed.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18857 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 12:11:34 +00:00
Galder Zamarreno
011ef60c10
[HHH-4640] (Add test with JNDI bound JBoss Transactions Transaction Manager) Test was not closing SessionFactory instance.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18856 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-23 12:09:45 +00:00
Galder Zamarreno
b15adba4ef
Disable lock striping to avoid potential deadlocks like the ones explained in http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218955#4218955 . It's worth noting that In Infinispan, each entity/collection has its own cache and the update timestamps and query cache are maintained separately, so the chances of this happening are much lower.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18849 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-22 16:43:06 +00:00
Galder Zamarreno
89b9b4e79f
[HHH-4640] (Add test with JNDI bound JBoss Transactions Transaction Manager) Done.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18848 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-22 16:37:22 +00:00
Galder Zamarreno
d88f65ff0c
[HHH-4836] (Infinispan: 2L QueryCache don't considers cached queries which belong to current transaction) Fixed by not suspending transactions on get any more, since no locks are aquired on get.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18790 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-02-12 12:21:43 +00:00
Galder Zamarreno
671d9db8e2
Individual regions currently use the same implementation as InfinispanRegionFactory for the next timestamp. Get them to actually call InfinispanRegionFactory to make it easier for users to provide diff implementations if desired.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18618 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-25 16:23:59 +00:00
Galder Zamarreno
b34bb068a7
[HHH-4814] (Configure global/cache level JMX statistics from Hibernate configuration file) Added hibernate.cache.infinispan.statistics that enables cache manager and individual cache statistics.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18617 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-25 15:47:02 +00:00
Steve Ebersole
5d8d70036a
HHH-4659 - Add support for standard declarative cache (@Cacheable)
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18614 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2010-01-24 17:07:28 +00:00
Galder Zamarreno
77e57b6727
Added JDBC transaction test.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18185 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-09 18:21:07 +00:00
Galder Zamarreno
16528acc0b
[HHH-4520] (Infinispan second level cache integration can cache stale collection data) testManyUsers now enabled after ISPN-277 was fixed.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18184 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-09 18:20:38 +00:00
Galder Zamarreno
df2f9a8270
[HHH-4575] (When Infinispan is configured for INVALIDATION don't send cluster message on entity insert) Fixed.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18119 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-12-03 09:03:35 +00:00
Galder Zamarreno
05a02472a9
[ISPN-277] (LRU data container endlesly looping or exhibiting heavy contention) Update to trunk and check if testManyUsers runs fine now.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18077 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-27 16:53:33 +00:00
Galder Zamarreno
abc165eaba
[HHH-4520] (Infinispan second level cache integration can cache stale collection data) Ported fix. testManyUsers has been disabled while ISPN-277 gets fixed. Finally, Infinispan version has been upgraded to 4.0.0.CR2.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@18005 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-18 16:56:13 +00:00
Galder Zamarreno
ec31e277ec
[HHH-4519] (Hibernate/Infinispan integration doesn't property handle Entity/CollectionRegionAccessStrategy evictAll) Fixed and got provider to work with forthcoming Infinispan 4.0.0.CR2 which has been just tagged but the maven repo has not been updated yet.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17976 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-11-13 18:12:53 +00:00
Galder Zamarreno
95d4af906e
Do not hardcode marshaller and version. Stick to defaults.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17799 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-10-19 16:48:53 +00:00
Galder Zamarreno
9e7e49d1f1
[ISPN-6] [HHH-4103] Tidy up commented code.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17488 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-08 09:55:19 +00:00
Galder Zamarreno
fc6da13a85
[ISPN-6] [HHH-4103] Fixed Infinispan classloader tests that required fixing some issues in the region factory implementation, but also a fix in Infinispan and a fix in JBoss Marshalling. I'll update the pom.xml to a new Infinispan release as soon as we have a new one. I've also added a fndi version of the Infinispan region factory to be used under JBoss AS. Finally, added some extra optional Infinispan configurations to the default file for testing and indication purpouses.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17487 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-09-07 17:50:30 +00:00
Galder Zamarreno
9ccd912bde
[HHH-4103] Initial commit.
...
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17386 1b8cb986-b30d-0410-93ca-fae66ebed9b2
2009-08-21 08:39:33 +00:00