[jboss-user] [JBoss Cache: Core Edition] - Re: Bug with commit

yerenkow do-not-reply at jboss.com
Tue Oct 14 06:26:19 EDT 2008


Cache and HIbernate are separated;
I'm not using Cache to work with DB.
I have a cache for one purpose, and hibernate for working with DB.
When I'm doing something with DB, I'm doing this so:


  | Transaction t =sess.beginTransaction();
  | ... Some DB stuff
  | t.commit();
  | 

And all ok.

when I'm doing this so:


  | Transaction t =sess.beginTransaction();
  | ... Some DB stuff
  | ... Detecing need to remove a some node in Cache
  | ... Removing node
  | t.commit();
  | 

Exception is thrown.
Any help?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182060#4182060

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182060



More information about the jboss-user mailing list