Login Register Actian.com  

Actian Community Blogs

A few points of interest from the work that Luminary Solutions do, usually relating to Ingres and Java.

We also do a lot of OpenROAD and .NET development, but I tend to stick to the Java side.
Rate this Entry

Ingres SQLAlchemy dialect available

Submit "Ingres SQLAlchemy dialect available" to Digg Submit "Ingres SQLAlchemy dialect available" to del.icio.us Submit "Ingres SQLAlchemy dialect available" to StumbleUpon Submit "Ingres SQLAlchemy dialect available" to Google
Posted 2009-11-27 at 01:59 AM by Alan.Raison

The Ingres dialect for SQLAlchemy 0.6 is now available through SVN from [url=http://code.ingres.com/apps/SQLAlchemy]http://code.ingres.com/apps/SQLAlchemy[/url].

SQLAlchemy is an ORM framework for Python, allowing Python objects to be direclty mapped to database tables.

Ingres has a DBI driver for Python; this is available for download from [url=http://esd.ingres.com]http://esd.ingres.com[/url] or from the Ingres Subversion repository ([url=http://code.ingres.com/ingres/drivers/python]http://code.ingres.com/ingres/drivers/python[/url]). This is required to use SQLAlchemy.

In order to use Ingres with SQLAlchemy, you will need to first check out the SQLAlchemy source code from [url=http://svn.sqlalchemy.org/sqlalchemy]http://svn.sqlalchemy.org/sqlalchemy[/url]. Then export the Ingres dialect into the same folder. Edit lib/sqlalchemy/dialects/__init__.py to include 'ingres' in the __all__ list, then install SQLAlchemy into your python package directory using python setup.py install.

Hope you followed that!!

The intention is to release this to the main SQLAlchemy project; watch this space for news!
Posted in Uncategorized
Views 22955 Comments 1 Edit Tags

« Prev     Main     Next »

Total Comments 1

Comments

  1. Old Comment
    grant's Avatar
    Nice work - any chance of an egg to do the above steps?
    permalink
    Posted 2009-11-27 at 04:00 AM by grant grant is offline
 
© 2011 Actian Corporation. All Rights Reserved