CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    SQL Anywhere 5.5 ODBC and Multithreading ?

    Hi,

    Is SQL Anywhere 5.5 ODBC Driver support multithreading ?

    Thanks


  2. #2
    Join Date
    Sep 1999
    Posts
    4

    Re: SQL Anywhere 5.5 ODBC and Multithreading ?

    I'm using SQL Anywhere 6.0 in a multi-threaded ODBC app right now and it does not seem to support multiple threads - execution of multiple simultaneous statements results in a loss of communication with the server. As yet I haven't been able to solve this problem.

    Zog


  3. #3
    Join Date
    Sep 1999
    Posts
    4

    Re: SQL Anywhere 5.5 ODBC and Multithreading ?

    Ask and ye shall receive...

    This is right out of the ASA Programming Interfaces Guide:

    ----------------------------
    Threads in ODBC applications

    You can develop multi-threaded ODBC applications for Adaptive Server
    Anywhere. It is recommended that you use a separate connection for each
    thread.

    You can use a single connection for multiple threads. However, the database
    server does not allow more than one active request for any one connection at
    a time. If one thread executes a statement that takes a long time, all other
    threads must wait until the request is complete.
    ----------------------------

    And that's all she wrote.

    Zog


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured