Solved

Database Conenction Pooling in C++

Posted on 2002-04-29
9
402 Views
Last Modified: 2012-06-27
Hi,
I need to create a database connection pool to Sybase, Oracle and DB2 under winnt, win200, Solaris and HP in C++.
Can anyone please let me how if there is any tool available to do this in C++.

Thanks
Regards
Jasmina
0
Comment
Question by:jas123
9 Comments
 
LVL 4

Expert Comment

by:pagladasu
ID: 6978449
0
 

Author Comment

by:jas123
ID: 6979453
This is not the solution to my requirement.
0
 
LVL 10

Accepted Solution

by:
makerp earned 500 total points
ID: 6979801
if you use an ODBC connection then connection pooling will be done by the ODBC sub-system for you. see the ODBC applet in control panel. thats windoze but for other OS's i dont know.

P
0
 

Author Comment

by:jas123
ID: 6979872
No I want a common code for the OS mentioned in my question.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 6

Expert Comment

by:Triskelion
ID: 6980234
Let me try to understand.
Is the CODE to run on one machine connecting to multiple types of databases on different machines and OSs?

If so, use ODBC as makerp suggested.  There are drivers that will let you connect to all of those databases you mentioned using the SAME commands.  The only thing that will possible look different is the connect string unless all of the drivers are from the same manufacturer.

If you are attempting to connect to different databases with multiple copies of the same code; again ODBC.

0
 

Author Comment

by:jas123
ID: 6980445
Will this ODBC code work on HP and Solaris.
This code will have a copy on each OS and then the clients will use this code to make conenction to different databases.

Regards
Jasmina
0
 
LVL 6

Expert Comment

by:Triskelion
ID: 6983142
0
 
LVL 11

Expert Comment

by:griessh
ID: 7122208
Dear jas123

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to accept

     "makerp"

comment(s) as an answer.

If you think your question was not answered at all, you can explain here why you want to do this and post a request in Community support (please include this link) to refund your points. The link to the Community Support area is: http://www.experts-exchange.com/commspt/


PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7138123
Force accepted

** Mindphaser - Community Support Moderator **
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

914 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now