1. Concurrency strategy configuration for JBoss TreeCache as 2nd level Hibernate cache stackoverflow.comI am using JBoss EAP 4.3. I'm currently looking into the different options for concurrency strategy when using the built-in JBoss TreeCache as a second level cache for Hibernate. I have ... |
2. treecache supports only transactional and read-only usage forum.hibernate.orgThe hibernate 2.1.3 document showes that treecache does not support read-write, nonstrict-read-write and query cache. Is this true? The jbosscache 1.0 states that it supports 5 isolation levels: SERIALIZABLE, REPEATABLE_READ (default) READ_COMMITTED,READ_UNCOMMITTED and NONE How do they match the treecache's isolation levels to hibernate cache levels? By the way, is that ture that query cache does not work with treecache? We ... |
3. JBoss TreeCache locking problem forum.hibernate.orgHello, We have recently moved to using JBoss 3.2.4RC2 with Hibernate and using the TreeCache since we want transactional cache. However I have a test, that writes/updates, and than deletes an object using Hibernates Session API. After the transaction is completed, we get the following error each time we call evict on that class (we have an MBean that will flush ... |
4. Hibernate Transaction commit and Treecache Replication forum.hibernate.orgI have plugged in TreeCache in hibernate. To retrieve data from database i have coded - Session s = SESSION_FACTORY.openSession(); Transaction txn = s.beginTransaction(); TTkopOper tTkopOper = (TTkopOper) session.get(TTkopOper.class, operId); txn.commit(); When i try to retrieve the data from database, the TreeCache.put() method is called on every call to Session.get(). The local cache is updated prior to commiting the transaction whereas ... |
5. Deadlock using Hibernate with transactional TreeCache 1.3.0 forum.hibernate.orgAuthor Message yegor@pokercreations.com Post subject: Deadlock using Hibernate with transactional TreeCache 1.3.0 Posted: Tue Jul 04, 2006 10:18 am Newbie Joined: Tue Jul 04, 2006 9:58 am Posts: 15 Hibernate version:3.1.3, 3.2CR2 Full stack trace of any exception that occurs: 2006-07-04 17:11:28,320 ERROR [org.jboss.cache.lock.IdentityLock] read lock for /com/offshorecreations/nlop/admin/domain/Round/com.offshorecreations.nlop.admin.domain.Round#1764208 could not be acquired by GlobalTransaction:<192.168.3.6:4813>:3 after 30000 ms. Locks: Read ... |
6. TreeCache, invalidation on update for transactional cache?! forum.hibernate.orgHeya, Im running into troubles with TreeCache and invalidate-on-update issue. For EHCache or OScache thats the behaviour I would expect, but why for TreeCache? I start the transaction. Read an object. Modify it. Commit. I get the object from cache while reading, but when commiting the cache is invalidated and I hit db. Okay, its normal behaviour some say, but I ... |
7. TreeCache, CacheConcurrencyStrategy Transactional forum.hibernate.orgI'm wondering : Hibernate comes with 2 JbossCache providers : TreeCache and OptimisticTreeCache. The second one can be used only inside application server. I'm developing a standalone application which puprose is to test different 2nd level caching mechanisms availaible for Hibernate. So I am using TreeCacheProvider. CacheConcurrencyStrategy is TRANSACTIONAL. Database isolation level : Repeatable_read. And my question is: is TreeCache working ... |