Web Server forum
Back To The Forum Home!Search!Private Messaging System

This is Interesting: Free IT Magazines Now Free shipping to California  
Web Server Talk Web Server Talk > Free Databases support forum > Microsoft SQL server > SQL JDBC Driver > Can't start a cloned connection while in manual transaction mode.




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Can't start a cloned connection while in manual transaction mode.  
MrNobody


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-14-05 10:58 PM

I got this error recently using SQL Server, and I found a microsoft site
which gives a solution by setting the SelectMethod property to Cursor but I
don't understand why. We've run this app before with no problems, yet now al
l
of a sudden we need to customize the URL string of the driver connection.

Can anyone explain what this means exactly and why this might have become a
problem now but was not before?

Most appreciated,







[ Post a follow-up to this message ]



newton is offline     Re: Can't start a cloned connection while in manual transaction mode.  
newton


View Ip Address Report This Message To A Moderator Edit/Delete Message


Click Here to See the Profile for newton Click here to Send newton a Private Message Find more posts by newton Add newton to your buddy list
 
04-24-05 02:40 AM

olá,

add "SelectMethod=cursor" your URL connection

ex: 
Connection conn = DriverManager.getConnection("jdbc:microsoft:sqlserver://lo
calhost:1433;SelectMethod=cursor");




[ Post a follow-up to this message ]



    RE: Can't start a cloned connection while in manual transaction mode.  
Carb Simien [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
04-26-05 10:54 PM


--------------------
| Thread-Topic: Can't start a cloned connection while in manual transaction
mode.
| thread-index: AcVBMGMZaFbT7Q3cQUeyebz5WmA8JQ==
| X-WBNR-Posting-Host: 66.114.64.114
| From: "examnotes" <MrNobody@discussions.microsoft.com>
| Subject: Can't start a cloned connection while in manual transaction mode.
| Date: Thu, 14 Apr 2005 13:27:32 -0700
| Lines: 11
| Message-ID: <120F0C3C-9AAD-4B6A-B7F4-3F966E95E4DD@microsoft.com>
| MIME-Version: 1.0
| Content-Type: text/plain;
| 	charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.0
| Newsgroups: microsoft.public.sqlserver.jdbcdriver
| NNTP-Posting-Host: TK2MSFTNGXA03.phx.gbl 10.40.2.250
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFTNGXA03.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl microsoft.public.sqlserver.jdbcdriver:6826
| X-Tomcat-NG: microsoft.public.sqlserver.jdbcdriver
|
| I got this error recently using SQL Server, and I found a microsoft site
| which gives a solution by setting the SelectMethod property to Cursor but
I
| don't understand why. We've run this app before with no problems, yet now
all
| of a sudden we need to customize the URL string of the driver connection.
|
| Can anyone explain what this means exactly and why this might have become
a
| problem now but was not before?
|
| Most appreciated,
|
|
|

Hello,

You will definitely need to use cursor mode to allow cloned connections to
be spawned on your behalf in a transaction.  The behavior of SelectMethod
has been the same for the last several years.

If your code always used SelectMethod=direct, then the only thing I can
think of is that your app never entered the codepath that required a new
connection to be spawned.

Carb Simien, MCSE MCDBA MCAD
Microsoft Developer Support - Web Data

Please reply only to the newsgroups.
This posting is provided "AS IS" with no warranties, and confers no rights.

Are you secure?  For information about the Strategic Technology Protection
Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 02:40 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register