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

Hi every body
I'm trying to set my connection autoCommit to false and begin a manual transaction in my application .I use sql server 2000 as my dbms and I set the connection selectMethod to "cursor" ,but when I run my application I see this error
Can't start a cloned connection while in manual transaction mode
what's wrong??

Very hard to say using the code posted. However, a few things immediately jump out at me:
Call setAutoCommit() immediately after getting the Connection. I have never tried calling that method in the middle of a transaction, and I imagine the results are not good.
Where are your Statements? You should use PreparedStatement whenever possible. At worst, use a Statement. I don't even see that.
Either commit and rollback yourself, or let auto-commit do it. IMO, whenever you write SQL, you should be coginzant of when a commit or rollback should occur. Therefore, I never use auto-commit.- Saish

Similar Messages

  • Why can't I get internet connection while I am away from a WiFi connection?

    Why can't I get internet connection while I am away from a WiFi connection?

    Some more information other than why would help. Does your service provider allow cellular data on your plan? Do you have cellular data turned on? Are you in a area with cellular coverage?

  • Can't start a queue connection

    Hi!
              I can't get start a queue connection, when getting a connection object from a clustered server.
              I try this:
              QueueConnectionFactory qf = getJMSConnectionFactory();
              QueueConnection m_queueConnection = qf.createQueueConnection();
              m_queueConnection.start();
              --> here I'm getting an exception....
              weblogic.jms.common.JMSException: Connection not found
              at weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManager.java:121)
              at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:509)
              at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:272)
              at weblogic.jms.client.JMSConnection.start(JMSConnection.java:442)
              The method getJMSConnectionFactory() is quite simple, it looks up a JMSConnectionFactory object,
              that is deployed to a cluster. I have tried using the default connection factory (weblogic.jms.ConnectionFactory)
              and also some other one, but without success. What can I do? Without the cluster it works fine.
              Any help is welcome,
              regards,
              przemek
              

              Please post jms questions to jms newsgroup.
              -- Prasad
              Przemyslaw Rychlewski <[email protected]> wrote:
              >Hi!
              >
              >I can't get start a queue connection, when getting a connection object
              >from a clustered server.
              >I try this:
              >QueueConnectionFactory qf = getJMSConnectionFactory();
              >QueueConnection m_queueConnection = qf.createQueueConnection();
              >m_queueConnection.start();
              >--> here I'm getting an exception....
              >weblogic.jms.common.JMSException: Connection not found
              > at weblogic.jms.dispatcher.InvocableManager.invocableFind(InvocableManager.java:121)
              > at weblogic.jms.dispatcher.Request.wrappedFiniteStateMachine(Request.java:509)
              > at weblogic.jms.dispatcher.DispatcherImpl.dispatchSync(DispatcherImpl.java:272)
              > at weblogic.jms.client.JMSConnection.start(JMSConnection.java:442)
              >
              >The method getJMSConnectionFactory() is quite simple, it looks up a JMSConnectionFactory
              >object,
              >that is deployed to a cluster. I have tried using the default connection
              >factory (weblogic.jms.ConnectionFactory)
              >and also some other one, but without success. What can I do? Without
              >the cluster it works fine.
              >
              >Any help is welcome,
              >regards,
              > przemek
              >
              >
              >
              

  • IPad 2 and iPhone 4 - can't get an internet connection while tethered

    I have an iPad 2 and an iPhone 4. Been using the iPhone to tether my iPad for a few weeks and all of a sudden when it's tethered I can't get an internet connection. Both iPhone and iPad are updated with latest software.

    Hello Emma I presume your in the UK.
    In the UK PPPoA is the standard PPPoE is not supported by many ISP's.
    On your Mac just use DHCP in your Network settings. Do not use PPPoE.
    Then login to your router's web configuration page. http://192.168.0.1 or http://192.168.1.1. Admin and Password are the usual login details for netgear routers.
    use the following details
    PPPoA
    VC-Mux
    Chap authentication
    vpi and vci are 38,0
    and of course use your isp username and password.
    Post edited. I just noticed you had already figured out the correct details.
    Message was edited by: Tim Haigh

  • Can only start Windows 7 (installed with bootcamp)  in safe mode

    I installed Windows 7 about 3 weeks ago, everything has gone smoothly until a few days ago. I can only start Windows in safe mode, if I try to do it in normal mode, it starts to log in but the screen will just go black and the computer will shut off completely. Then it won't turn back on for like 5 minutes. My mac partition works fine, and I can't find a solution to this Windows problem. When I try to do the "restore' thing where you make it go back to a certain install point, it gives me an error. Please help me, I have a course starting in 3 days and I need Windows OS for it.

    Post your question in the BootCamp forum.

  • Excel Import of Dates while in Manual Task Mode

    It appears that I cannot do an Excel import into start/finish fields for a task that is set to manual mode.  Is this true, or am I overlooking something?
    This is annoying.  I am having to import into the temporary fields of start1/finish1, then copy the dates over to start/finish.  Using manual mode is important because it ignores dates and holidays.  If my customer says an activity is to occur
    on a Saturday, then so be it; I can't have the tool changing it to Monday.

    Hi John -
    We have a Customer that has data in a SharePoint list.  Included in this data is start and finish dates.  Of course our preference would be to have this particular Customer join our Project Server instantiation as yet one more PWA user.  However,
    there are scores of people that are maintaining this legacy SharePoint list and we are trying to be accomodating to their interface.  To that end, we are trying to devise a process that will allow us to periodically ingest their data into our Server. 
    Once in our Server, we can then start creating links from there to the rest of our Enterprise, most likely via Deliverable/Dependency relationships which we have tuned to a fine science with macros.
    There are people I know and respect that HATE Manual Mode and think it the worst thing to ever happen to MS Project.  I wouldn't go that far, but my initial impression of the capability was that it seemed to allow the ability to copy/paste a twin
    column of start/finish dates from Excel and paste directly into the Project start/finish.  Up until v2010, this was never possible --- copying a date into Start would set a "Start No Earlier Than" constraint and then plunking
    a date into finish would then set a "Finish No Earlier Than" constraint and immediatly forget the start date that was just provided!!!! We have known that if you want to copy from Excel into Project, then you need to copy a start date and a duration
    and let Project compute the finish, and cross your fingers that the finish date in Project matches the one in the Excel file.  My current impression of the capability is that it still has a way to go to meet expectations.  The fact that there are
    smart people on this thread getting different results and none of us knows why is very troubling. 
    One more thing I will add about how we use Manual Mode.  We switched our macros that create Depedency links to using manual mode.  We did this for two reasons: (1) people were complaining about all the "Must Start" constraints that
    we were setting.  (2) This allowed us to force dates to weekends/holidays without the imposition of a 7-day calendar. Having so much as one record in schedule with Task Calendar set to anything other than "None" then prohibits the ability to
    update a schedule in PWA.  We have had tremendous success with using Manual Mode from this perspective.
    Regards,
    Chris

  • Can't use my wifi connection while sharing it to my PC via Ethernet

    I am sharing my WiFi connection to my desktop PC using an Ethernet cable. The internet works great on my desktop, however my MacBook now can't use the connection. It says it's connected to WiFi but nothing will load.
    Anyone know how I can use internet on both devices at the same time?
    It's a MacBook (Mid 2010) running OS X Yosemite Version 10.10.1

    Lets se if I understand this. Are you doing this because you don't have a router? And you need to create a hot spot? Here in an article on doing this.http://www.makeuseof.com/tag/turn-windows-wifi-hotspot-share-internet-connection /

  • Iphone starting to warm up while its in standby mode?

    I was using location services for 5 minutes before setting it back to home page and turning to stand by mode, iphone continued to warm up even after setting it to stand by.
    is this normal or a problem with my iphone?

    same here and it uses the battery up like it was no tomorrow.
    i charged it till 100 percent and the next morning i couldnt turn it on. reason - battery completely drained. i just got this phone on the 1st Aug

  • How can i start my iphone 5 after it went on safemode and itunes cant help me!! i was trying to update it!!

    how can i start my phone after it went on safe mode while i was updating it!! it says i need to connect with itunes but when i doo it tells me its an error !! i cant use my phone at all!!

    modular747,
    Had same problem, got answer from supprot community and it worked.
    Hold down your power bar (on top) and your Home button (on face at bottom) for about 10 - 20 sec. and your phone will be restored - nothing lost or changed.  Worked like a charm for me 20 sec ago.
    Good luck

  • SAP system can't start up

    Hi Experts,
        My company's SAP IDES system can't start up now. Because I use transaction code RZ10 to create an new instance profile.Maybe some parameters are not correct.
        What can I do right now?? Any expert can give me some advice??
    Thanks a lot in advance.
    Best regards,
    Villy.Lv.

    No crossposting by the way!
    SAP system can't start up
    Too late I noticed that I could have saved my time...
    Edited by: Joe Bo. on Dec 11, 2009 4:13 PM

  • Type of error in the log file while using using call transaction mode u2018Eu2019

    Hi Gurus,
    Please Answer for this qusetion urgently
    what type of error exactly  you will be seeing in the log file while using call transaction mode u2018Eu2019?
    Thanks/
    Radha.

    Hi,
    Can you be clear.
    In call transaction , no error logs  are created, you have to handle the errors explicitly using the structure BDCMSGCOLL.
    Whenever you use E mode then if the transaction encounters any of the errors i.e. data type mismatching or invalid values etc, it will stop at that screen.
    You can handle the errors in call transaction in the following method.
    create a table using the structure BDCMSGCOLL.
    then
    loop at ......
          CALL TRANSACTION 'XK01' USING I_BDCDATA MODE 'N' UPDATE 'S' MESSAGES INTO I_MESGTAB.
    endloop.
      SORT I_MESGTAB BY MSGID MSGV1 ASCENDING.
      DELETE ADJACENT DUPLICATES FROM I_MESGTAB.
      LOOP AT I_MESGTAB.
        CALL FUNCTION 'FORMAT_MESSAGE'
          EXPORTING
            ID   = I_MESGTAB-MSGID
            LANG = I_MESGTAB-MSGSPRA
            NO   = I_MESGTAB-MSGNR
            V1   = I_MESGTAB-MSGV1
            V2   = I_MESGTAB-MSGV2
            V3   = I_MESGTAB-MSGV3
            V4   = I_MESGTAB-MSGV4
          IMPORTING
            MSG  = MESG1.
        IF I_MESGTAB-MSGTYP = 'S' .
          WA_SUCCMESG-MESG = MESG1.
          APPEND WA_SUCCMESG TO I_SUCCMESG.
    else     IF I_MESGTAB-MSGTYP = 'E' .
          WA_ERRMESG-MESG = MESG1.
          APPEND WA_ERRMESG TO I_ERRMESG.
        ENDIF.
      ENDLOOP.
    Hope this is clear.
    Thanks and Regards.

  • HT1657 Can I watch a rented movie while I have no Internet connection ie. on a flight

    If I download a rented movie can I play it if I have no Internet connection?

    Please be aware of the movie rental's time limitation that you have 30 days from the time of rental to watch your movie, and once you start watching it, you have 24 hours to finish watching it. You may watch it as many times as you like during those 24 hours. It may be helpful to make sure the download completes successfully before you begin watching the movie.
    Once the download is complete you can watch it without an Internet connection. However, an Internet connection to the iTunes Store is required to authorize playback or activate the 24 hours time-limit of movie rentals. This means, only during the starting of the movie. Once you have started playing the movie rental, internet connection is not required. You can play anywhere without internet connection.
    You may need to validate the rental prior to watching so it starts the rental period timer and for that you will need an internet connection. You can probably do that by starting the rented movie while on the Airport Wifi or right before leaving home. You'll have 24 hours to watch the movie after you start it.
    For more information on movie rentals, you can visit:
    iTunes Store: Movie rental frequently asked questions (FAQ)
    http://support.apple.com/kb/HT1657
    Note: 24 hours time limit is for United States customer only, while 48 hours for other countries.

  • Hey, I broke my iPhone 4 screen when I change it my phone start to turn off while my battery reach the 25% when I connect it to the charger it switched on, and the battery percentage is around 25% so it's the time for a new battery, or I need to calibrate

    hey, I broke my iPhone 4 screen when I change it my phone start to turn off while my battery reach the 25% when I connect it to the charger it switched on, and the battery percentage is around 25% so it's the time for a new battery, or I need to calibrate it? thank you

    There are no user serviceable parts in an iPhone. Since you
    made an unauthorized repair to your iPhone, you will have to
    seek assistance elsewhere.
    Google or ifixit.com may provide some direction, but you can
    get no help here per Terms of Service. Sorry to tell you this,
    but it is what it is.

  • I have tried everything, but still I can't locate the photos tab in iTunes...I have tried changing the resolution, started iTunes after connecting with the ipad2, nothing seems to work! please advise!

    I have tried everything, but still I can't locate the photos tab in iTunes...I have tried changing the resolution, started iTunes after connecting with the ipad2, nothing seems to work! please advise!
    I am also providing you with a screenshot of what appears! I need photos on my iPad2
    Message was edited by: angana

    You don't see it on the left-hand side of iTunes - you need to connect and select the iPad on the left-hand side, and then one of the tabs on the right-hand side that you use to select which content to sync to the iPad should be Photos : http://support.apple.com/kb/HT4236
    You will need to select and sync all the photos that you want on the iPad together in one go as only the most recent sync remains on the iPad, not including photos in a subsequent sync is how you delete them from it.

  • I can not start my iPhone 4S, because when I start iPhone i see the connect to iTunes scree

    dear sir/madam
    I Can't start my iPhone 4S, because when I start iPhone at that time I see the 'connect to iTunes screen.
    how to unlock my iPhone 4S (US)

    Connect to iTunes on your PC and follow instructions on screen. Bsydd uk

Maybe you are looking for

  • Why are animated gifs not displaying animations in the preview?

    Why are animated gifs not displaying animations in the preview? My coworkers and I are not seeing a animation in the preview pane in Adobe Bridge CS6 even when clicking the play button in the preview window. However, we do see a graphic of the first

  • How do i copy a photo from an email and save as a file/

    WANT TO UPLOAD A PHOTO TO A WEBSITE. THE ONLY COPY I HAVE IS IN AN EMAIL. ANYWAY TO SOMEHOW (COPY?)/SAVE OR DOWNLOAD THE PHOTO SO IT CAN THEN BE UPLOADED TO A WEBSITE?

  • Indesign Crashes when exporting PDF

    Hi, We are experiencing an issue when exporting an .indd file as .pdf. The process gets as far as a certain page (8 out of 13) and then crashes when reading a pdf image from that page. It does one of two things - it crashes or displays an 'out of mem

  • Import to Elements Organiser Causes Elements to Crash

    I am having trouble importing AVCHD (.mts) files in to Elements Organizer.  Part way through the import, Elements crashes with no helpful message.  I have just checked the Video Card compatibilty list and notive that the NVIDIA GeForce 8600M GT is no

  • Very strange Access / JDBC problems

    Hi there, I am running a simple jdbc program which uses MS Access 2000. I am getting this really strange problem. My program does not update the table and throws no exception - when I run the same program through a remote debugger - it does update th