Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. DB2 C++ Wrapper Classes

DB2 C++ Wrapper Classes

Scheduled Pinned Locked Moved Article Writing
databasec++sql-serversysadminhelp
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lost User
    wrote on last edited by
    #1

    Does anybody have classes which Wrap up the DB2 Call Level Interface. I am trying to get started at programming with DB2 as my back-end database - but I cannot find anything on DB2. Plenty on Access and SQL Server - but nothing on DB2. Any help would be greatly appreciated Btw - please remove the _NO_SPAM_ from my email address to reply Thanks Brian

    M 1 Reply Last reply
    0
    • L Lost User

      Does anybody have classes which Wrap up the DB2 Call Level Interface. I am trying to get started at programming with DB2 as my back-end database - but I cannot find anything on DB2. Plenty on Access and SQL Server - but nothing on DB2. Any help would be greatly appreciated Btw - please remove the _NO_SPAM_ from my email address to reply Thanks Brian

      M Offline
      M Offline
      Matt Gullett
      wrote on last edited by
      #2

      I have worked with the DB2 CLI in version 5.1 and 6.0. At least through 6.0, the DB2 CLI was modeled after the ODBC API's. I actually used the ODBC API as reference for the DB2 CLI. I do not have a "class" wrapper for it though. I do, however, have a code/header file which I use in 3 enterpirise applications. This code exposes a set of functions to implement db2 access in a GUI application. It is intended for applications which require only a single connection (there is some code to support multiple threads, but it is minimal) and it has code built-in for connection management (ie. lost connection, auto reastiblish, auto-timeout). Also, it has an SQL logging feature to log the SQL executed by the module. It has worked very well for the applications I use it for. If you would like the code, email me at gullettm@yahoo.com and I will reply with the code attached. NOTE: There will probably be a couple of changes you will have to make to it because there are a couple of client-specific functions in it.

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups