-->
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.  [ 2 posts ] 
Author Message
 Post subject: Executes SQL asynchrously??
PostPosted: Fri Jan 13, 2006 11:36 am 
Beginner
Beginner

Joined: Fri Jan 13, 2006 11:19 am
Posts: 24
Transactional write-behind, and transparent JDBC batching
Since Hibernate executes SQL asynchrously, it is able to transparently make use of the JDBC batch update API for insert, update and delete

1) what is the meaning of "Executes SQL asynchrously"?

2) What is batch update mean? how to use that in hibernate?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jan 13, 2006 3:42 pm 
CGLIB Developer
CGLIB Developer

Joined: Thu Aug 28, 2003 1:44 pm
Posts: 1217
Location: Vilnius, Lithuania
Why do you think does "1" ? it executes SQL on "flush" (it depends on "flush mode", but SQL is executed "synchrously", in the caller thread ).
JDBC batch is used if it is configured, see configuration parameters in docs.


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

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.