-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Conceptual question regarding Hibernate and TreeCache
PostPosted: Wed Nov 10, 2004 9:41 pm 
Newbie

Joined: Wed Nov 10, 2004 9:27 pm
Posts: 4

Code A:
tx = s.beginTransaction();
s.save(wo);
tx.commit();

Code B:
s.save(wo);
s.flush();


Assuming I have Hibernate 2.1 configured to work with TreeCache in JBoss 3.2.6:

In Code A, when 'tx.commit()' is executed, does it write the 'wo' object to the database or the treecache or both? What about Code B? Does it write to the database, treecache, or both? Just trying to understand the API when a JVM-level cache is involved.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.