Dienstag, 28. Dezember 2010

DB2 support for Django 1.2 is here

The latest release of the IBM Adapter for Django now supports Django 1.2. Aside from enabling you to use the most recent version of Django, this release adds a few new goodies into the mix, that I?m sure many will appreciate.

For example, IBM?s adapter (through the underlying DBI wrapper) now uses persistent connections, which are especially helpful when dealing with Django ? as it lacks connection pooling. (Of course DB2 also has the Connection Concentrator to aid in reducing the usage of server resources and improving scalability.)

Furthermore, the adapter adds support for the DECIMAL datatype, a necessary feature when dealing with money and currencies. Various enhancements and bug fixes were included too; check them out on Google Groups.

As a reminder, DB2 Express-C is an absolutely free of charge version of DB2 and it?s production ready (not a toy version). You can download it from here. Take it for a spin, experiment ? chances are you?ll like it. If you need a guide to getting started, be sure to check out this free e-book by my colleagues Raul, Ian, and Rav.


If you enjoyed this post, then make sure you subscribe to my Newsletter and/or Feed.

10 Responses to ?DB2 support for Django 1.2 is here?

  1. What about informix support in the django adapter?

    • It isn?t officially supported yet, but it should work. Please refer to this thread in the support forum.

  2. you still need to install db2 on the machine that hosts the code to connect to the db2 server?

    • You only need the CLI client and the development headers to compile the drivers. You don?t need the whole server.

  3. wow, it?s wonderful, but it will be a better news if Django could possiblely support MongoDB

    • Apples and oranges. :)

  4. @Bingimar:
    I don?t think you need DB2 on the Django machine.

    At most, you?ll need the IBM Data Server Client for ODBC and CLI:
    http://www-01.ibm.com/support/docview.wss?rs=4020&uid=swg21385217

  5. Hello,

    Is it possible to use this driver to connect to a iSeries As400 db2 server ? Do we need some software installed on the server side ?

    I got the Db2 express version running on my development computer but I got not look to connect to our Ibm server yet.

    Any idea where I could find some help?

    • Yes, Herick, you can connect to System i; you will need DB2 Connect however. Please check with your DBA to see if your company already possesses a license.

      • DB2 Connect is this the same service need for ODBC support ? Because we are already capable of connecting to our iSeries system with ODBC.

        Thanks a lot



Online Business Consulting | Internet Business Consulting

Source: http://programmingzen.com/2010/03/30/db2-support-for-django-1-2-is-here/

search light ceiling fan lighting destination lighting mission lighting lighting direct

Keine Kommentare:

Kommentar veröffentlichen