jas123
asked on
Database Conenction Pooling in C++
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
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
ASKER
This is not the solution to my requirement.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
No I want a common code for the OS mentioned in my question.
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.
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.
ASKER
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
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
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: https://www.experts-exchange.com/commspt/
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
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: https://www.experts-exchange.com/commspt/
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
Force accepted
** Mindphaser - Community Support Moderator **
** Mindphaser - Community Support Moderator **
http://www.codeguru.com/mfc_database/CPWithCDatabase.shtml