[sqlalchemy] Re: SQLAlchemy and Informix advice

2014-05-19 Thread Massimo Valle

Thank you Richard,

about the 2nd question, sorry but I'm new to SQLAlchemy and trying to find 
a way, so using the ORM for SQL access to Informix is my goal. Following 
the tutorial, I found for the ORM I have to create a Session and my guess 
is for doing this, I need the SQLAlchemy module support through the 
ibm_db_sa module. At this time it spits an error because it expects a DB2 
database (no Informix support). Or, is there another way to do it?
Unfortunately I have no time to contribute to the module for Infornix 
support, therefore I'm looking if there is a way to achieve my goal (that's 
using the ORM) as it's now.

thanks again for your help,

Massimo Valle



On Monday, May 19, 2014 1:50:04 PM UTC+2, Massimo Valle wrote:

 I'm exploring SQLAlchemy features for a new project which must use an IBM 
 Informix database.
 Found the ibm_db and ibm_db_sa modules to integrate with SQLAlchemy and 
 successfully connected to the database after some tries.

 I found the ibm_db_sa module only supports DB2 and NOT Informix. At least 
 this is what was answered me on the project page.

 Now I have a couple of newbie questions for the SQLAlchemy experts:

 1. Does anyone know if the Informix support is something will be added? 
 (planned, considering). I don't know if this module is developed from IBM 
 or SQLAlchemy so, I'm not even sure to whom address this question.
 2. I see, I can connect to my Informix database, but can't use the 
 ibm_db_sa module. Does this mean I can only use SQLAlchemy Core features 
 and not the ORM? That would be sad since the ORM is exactly what I planned 
 to use.

 Thanks for help,

 Massimo Valle



-- 
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


Re: [sqlalchemy] Re: SQLAlchemy and Informix advice

2014-05-19 Thread Richard Gerd Kuesters
Massimo, git it a try to the dialect that Mike passed you. I think it 
should give you a better start then using the ibm_db_sa module.



On 05/19/2014 10:40 AM, Massimo Valle wrote:


Thank you Richard,

about the 2nd question, sorry but I'm new to SQLAlchemy and trying to 
find a way, so using the ORM for SQL access to Informix is my goal. 
Following the tutorial, I found for the ORM I have to create a Session 
and my guess is for doing this, I need the SQLAlchemy module support 
through the ibm_db_sa module. At this time it spits an error because 
it expects a DB2 database (no Informix support). Or, is there another 
way to do it?
Unfortunately I have no time to contribute to the module for Infornix 
support, therefore I'm looking if there is a way to achieve my goal 
(that's using the ORM) as it's now.


thanks again for your help,

Massimo Valle



On Monday, May 19, 2014 1:50:04 PM UTC+2, Massimo Valle wrote:

I'm exploring SQLAlchemy features for a new project which must use
an IBM Informix database.
Found the ibm_db and ibm_db_sa modules to integrate with
SQLAlchemy and successfully connected to the database after some
tries.

I found the ibm_db_sa module only supports DB2 and NOT Informix.
At least this is what was answered me on the project page.

Now I have a couple of newbie questions for the SQLAlchemy experts:

1. Does anyone know if the Informix support is something will be
added? (planned, considering). I don't know if this module is
developed from IBM or SQLAlchemy so, I'm not even sure to whom
address this question.
2. I see, I can connect to my Informix database, but can't use the
ibm_db_sa module. Does this mean I can only use SQLAlchemy Core
features and not the ORM? That would be sad since the ORM is
exactly what I planned to use.

Thanks for help,

Massimo Valle

--
You received this message because you are subscribed to the Google 
Groups sqlalchemy group.
To unsubscribe from this group and stop receiving emails from it, send 
an email to sqlalchemy+unsubscr...@googlegroups.com 
mailto:sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com 
mailto:sqlalchemy@googlegroups.com.

Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.


--
You received this message because you are subscribed to the Google Groups 
sqlalchemy group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.