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: Timeouts ..
PostPosted: Sun Sep 05, 2010 9:26 am 
Newbie

Joined: Sun Sep 05, 2010 9:21 am
Posts: 1
Hi,

Is it possible to send commands to db before Saving the object?

1. I am using sql server 2005, and before inserting/selecting would like to set:
set lock_timeout and xact_abort.
It would be nice, because using this method I can alleviate the problem with
locks on db resources.

2. What is more, I know that i can set timeout for Criteria, but can i do it
for Save method?

Thanks!


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.