|
Re: [CDO] A lock that is not automatically released by a commit [message #431249 is a reply to message #431248] |
Sun, 05 July 2009 20:59 |
|
This is a multi-part message in MIME format.
--------------020605030006010101050206
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Kai,
There's:
| transaction.options().setAutoReleaseLocksEnabled(*false*);|
Cheers
/Eike
----
http://thegordian.blogspot.com
http://twitter.com/eikestepper
Kai Schlamp schrieb:
> Hi.
>
> Is it possible to obtain a lock (in my case write lock) that is not
> automatically released by a commit?
> I want to lock an object for a series of commits, and don't always
> wan't to lock it again after every commit.
> Is it possible? If not, do you think it would be a good feature for
> future versions, or does it simply don't make any sense?
>
> Regards,
> Kai
--------------020605030006010101050206
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Kai,<br>
<br>
There's: <br>
<br>
<title></title>
<style type="text/css">
<!--code { font-family: Courier New, Courier; font-size: 10pt; margin: 0px; }-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- ======================================================== -->
<!-- = Java Sourcecode to HTML automatically converted code = --><!-- = Java2Html Converter 5.0 [2006-02-26] by Markus Gebhard markus@jave.de = -->
<!-- = Further information: http://www.java2html.de = -->
<div class="java" align="left">
<table bgcolor="#ffffff" border="0" cellpadding="3" cellspacing="0">
<tbody>
<tr>
<!-- start source code --> <td align="left" nowrap="nowrap"
valign="top"> <code><font color="#ffffff"> </font ><font
color="#000000">transaction.options</font><font color="#000000">()</font><font
color="#000000">.setAutoReleaseLocksEnabled</font><font color="#000000">(</font><font
color="#7f0055"><b>false</b></font><font color="#000000">)</font><font
color="#000000">;</font></code> </td>
<!-- end source code --> </tr>
</tbody>
</table>
</div>
<!-- = END of automatically generated HTML code = -->
<!-- ======================================================== --><br>
Cheers<br>
/Eike<br>
<br>
----<br>
<a class="moz-txt-link-freetext" href="http://thegordian.blogspot.com">http://thegordian.blogspot.com</a><br>
<a class="moz-txt-link-freetext" href="http://twitter.com/eikestepper">http://twitter.com/eikestepper</a><br>
<br>
<br>
Kai Schlamp schrieb:
<blockquote cite="mid:h2qvgh$4co$1@build.eclipse.org" type="cite">Hi.
<br>
<br>
Is it possible to obtain a lock (in my case write lock) that is not
automatically released by a commit?
<br>
I want to lock an object for a series of commits, and don't always
wan't to lock it again after every commit.
<br>
Is it possible? If not, do you think it would be a good feature for
future versions, or does it simply don't make any sense?
<br>
<br>
Regards,
<br>
Kai
<br>
</blockquote>
</body>
</html>
--------------020605030006010101050206--
Cheers
/Eike
----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper
|
|
|
Powered by
FUDForum. Page generated in 0.03171 seconds