1. Transactional L2 cache in Hibernate stackoverflow.comQ1: What does "transactional" strategy guarantee? Q2: What is the difference between "transactional" strategy and "read/write" strategy with JTA as transaction manager (specified by property). Q3: What if I specify "transaction" strategy for some entity ... |
2. Hibernate locking in 2nd level cache coderanch.comHi, I've got a fairly basic question about locking and transactions but I can't find the answer anywhere. We're using JBoss EJB3s to handle all our DB work alongside Hibernate. Hibernate is hooked into the JBoss transaction manager and everything works fine. We're also using JBoss Cache as the 2nd level cache and again everything works fine. However, we're having a ... |
3. Hibernate database level lock java-forums.orghi, i don't understand how to check the lock on database rows. i got a postgresql server which a java desktop aaplication is requesting. let's suppose a part of my code is like this : Person p = mySession.getCurrentSession().load (Person.class, 5, LockMode.UPGRADE); this work perfectly the person of id 5 is loaded and an upgrade lock is created, i can see ... |
4. database-level locks forum.hibernate.orghi, i don't understand how to check the lock on database rows. i got a postgresql server which a java desktop aaplication is requesting. let's suppose a part of my code is like this : Person p = mySession.getCurrentSession().load (Person.class, 5, LockMode.UPGRADE); this work perfectly the person of id 5 is loaded and an upgrade lock is created, i can see ... |
5. Transaction and Process Level Caching forum.hibernate.orgI wanted to ask which level of caching should be used in Hibernate based web applications? Caching at transaction level seems to be fine but what if 2 different sessions have loaded 2 different instances of the same object and both sessions try to update them. e.g: Both sessions load object A with counter property=1 Session 1 increments it by 1 ... |
6. Rollback and the first level cache forum.hibernate.org |
7. Changes remain in second-level cache after rollback forum.hibernate.orgHibernate version: 3.1.2 Database: PostgreSQL 8.1.2 Second-level cache: JBossCache 1.2.4 SP1 Hi! We noticed a very unexpected and wrong behavior of second-level cache. This could also be a bug in JBossCache, but anyhow, the problem is very serious. The thing is that changed data remains in the second-level cache even if the changes are not successfully flushed into the database, or ... |
8. hibernate in jboss, How can I set transaction level? forum.hibernate.orgI know in sql92 standard, any database should provide four transaction level: read uncommitted, read commit, read repeatable, serializable. and also jdbc can provide this support. but when merging into container, when using container managed transaction, transaction level default to be read commit, but How can I set it to any other level? and hibernate resolve difference between many popular database ... |
9. Hibernate first level cache & transaction forum.hibernate.org |
10. Second level cache is cleared automatically after commit forum.hibernate.orgI've been looking for the answer for few days now, wasting my weekend on this, and the fact that deep digging in google didn't find any answers means that this is probably something stupid on my part. I have secend level cache enabled in Hibernate but it always goes to the database to load the object. Cache debug shows entries as ... |